|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.jaas.LdapGroup
public class LdapGroup
Provides a custom implementation for grouping principals.
| Constructor Summary | |
|---|---|
LdapGroup(String name)
Creates a new ldap group with the supplied name. |
|
| Method Summary | |
|---|---|
boolean |
addMember(Principal user)
|
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)
|
Enumeration<? extends Principal> |
members()
|
boolean |
removeMember(Principal user)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LdapGroup(String name)
name - of the group| Method Detail |
|---|
public String getName()
getName in interface Principalpublic boolean addMember(Principal user)
addMember in interface Grouppublic boolean removeMember(Principal user)
removeMember in interface Grouppublic boolean isMember(Principal member)
isMember in interface Grouppublic Enumeration<? extends Principal> members()
members in interface Grouppublic Set<Principal> getMembers()
public boolean equals(Object o)
equals in interface Principalequals in class Objectpublic int hashCode()
hashCode in interface PrincipalhashCode in class Objectpublic String toString()
toString in interface PrincipaltoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||