public class LdapGroup extends Object implements Group, Serializable
Constructor and Description |
---|
LdapGroup(String name)
Creates a new ldap group with the supplied name.
|
Modifier and Type | Method and Description |
---|---|
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() |
public LdapGroup(String name)
name
- of the grouppublic boolean removeMember(Principal user)
removeMember
in interface Group
public Enumeration<? extends Principal> members()
public Set<Principal> getMembers()
public boolean equals(Object o)
public int hashCode()
Copyright © 2021. All rights reserved.