Class LdapGroup

    • Field Detail


        private static final int HASH_CODE_SEED
        hash code seed.
        See Also:
        Constant Field Values
      • serialVersionUID

        private static final long serialVersionUID
        serial version uid.
        See Also:
        Constant Field Values
      • groupName

        private final String groupName
        LDAP group name.
      • members

        private final Set<Principal> members
        Principal members.
    • Constructor Detail

      • LdapGroup

        public LdapGroup​(String name)
        Creates a new ldap group with the supplied name.
        name - of the group
    • Method Detail

      • addMember

        public void addMember​(Principal user)
        Adds a member to this group.
        user - to add
      • removeMember

        public void removeMember​(Principal user)
        Removes a member from this group.
        user - to remove
      • isMember

        public boolean isMember​(Principal member)
      • getMembers

        public Set<Principal> getMembers()
        Returns an unmodifiable set of the members in this group.
        set of member principals