org.apache.cxf.common.security
Class SimpleGroup
java.lang.Object
org.apache.cxf.common.security.SimplePrincipal
org.apache.cxf.common.security.SimpleGroup
- All Implemented Interfaces:
- Group, Principal
public class SimpleGroup
- extends SimplePrincipal
- implements Group
Simple Group implementation
SimpleGroup
public SimpleGroup(String groupName)
SimpleGroup
public SimpleGroup(String groupName,
String memberName)
SimpleGroup
public SimpleGroup(String groupName,
Principal member)
isMember
public boolean isMember(Principal p)
- Specified by:
isMember
in interface Group
addMember
public boolean addMember(Principal p)
- Specified by:
addMember
in interface Group
members
public Enumeration<? extends Principal> members()
- Specified by:
members
in interface Group
removeMember
public boolean removeMember(Principal p)
- Specified by:
removeMember
in interface Group
equals
public boolean equals(Object obj)
- Specified by:
equals
in interface Principal
- Overrides:
equals
in class SimplePrincipal
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Principal
- Overrides:
hashCode
in class SimplePrincipal
Apache CXF