Package org.ldaptive.jaas
Class LdapGroup
- java.lang.Object
-
- org.ldaptive.jaas.LdapGroup
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Set<Principal>
getMembers()
Returns an unmodifiable set of the members in this group.String
getName()
int
hashCode()
boolean
isMember(Principal member)
Returns whether the supplied member is in this group.String
toString()
-
-
-
Field Detail
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
groupName
private final String groupName
LDAP group name.
-
-
Method Detail
-
isMember
public boolean isMember(Principal member)
Returns whether the supplied member is in this group.- Parameters:
member
- to check- Returns:
- whether the supplied member is in this group
-
getMembers
public Set<Principal> getMembers()
Returns an unmodifiable set of the members in this group.- Returns:
- set of member principals
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-