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 booleanequals(Object o)Set<Principal>getMembers()Returns an unmodifiable set of the members in this group.StringgetName()inthashCode()booleanisMember(Principal member)Returns whether the supplied member is in this group.StringtoString()
-
-
-
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()
-
-