public class SimpleGroup extends SimplePrincipal implements Group
Constructor and Description |
---|
SimpleGroup(String groupName) |
SimpleGroup(String groupName,
Principal member) |
SimpleGroup(String groupName,
String memberName) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Principal p) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isMember(Principal p) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal p) |
getName, toString
public SimpleGroup(String groupName)
public Enumeration<? extends Principal> members()
public boolean removeMember(Principal p)
removeMember
in interface Group
public boolean equals(Object obj)
equals
in interface Principal
equals
in class SimplePrincipal
public int hashCode()
hashCode
in interface Principal
hashCode
in class SimplePrincipal
Apache CXF