Class SecurityRoleDescriptor

    • Constructor Detail

      • SecurityRoleDescriptor

        public SecurityRoleDescriptor()
        Default constructor.
      • SecurityRoleDescriptor

        public SecurityRoleDescriptor​(String name)
        Construct a SecurityRoleDescriptor from the given role name.
      • SecurityRoleDescriptor

        public SecurityRoleDescriptor​(String name,
                                      String description)
        Construct a SecurityRoleDescriptor from the given role name and description.
      • SecurityRoleDescriptor

        public SecurityRoleDescriptor​(Role role)
        Construct a SecurityRoleDescriptor from the given role object.
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Equality on rolename.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        My hashcode.
        Overrides:
        hashCode in class Object
      • print

        public void print​(StringBuilder toStringBuilder)
        Formatted string representing my state.
        Overrides:
        print in class Descriptor