|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.jaas.LdapGroup
public class LdapGroup
LdapGroup provides a custom implementation for grouping
principals.
| Constructor Summary | |
|---|---|
LdapGroup(String name)
This creates a new LdapGroup with the supplied name. |
|
| Method Summary | |
|---|---|
boolean |
addMember(Principal user)
|
Set<Principal> |
getMembers()
Returns an unmodifiable set of the members in this group. |
String |
getName()
This returns the name for this LdapGroup. |
boolean |
isMember(Principal member)
|
Enumeration<? extends Principal> |
members()
|
boolean |
removeMember(Principal user)
|
String |
toString()
This returns a String representation of this LdapGroup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.security.Principal |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public LdapGroup(String name)
LdapGroup with the supplied name.
name - String| Method Detail |
|---|
public String getName()
LdapGroup.
getName in interface PrincipalStringpublic 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()
Set of member principalspublic String toString()
LdapGroup.
toString in interface PrincipaltoString in class ObjectString
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||