org.apache.karaf.jaas.boot.principal
Class GroupPrincipal
java.lang.Object
org.apache.karaf.jaas.boot.principal.GroupPrincipal
- All Implemented Interfaces:
- Group, Principal
public class GroupPrincipal
- extends Object
- implements Group
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroupPrincipal
public GroupPrincipal(String name)
addMember
public boolean addMember(Principal user)
- Specified by:
addMember in interface Group
removeMember
public boolean removeMember(Principal user)
- Specified by:
removeMember in interface Group
isMember
public boolean isMember(Principal member)
- Specified by:
isMember in interface Group
members
public Enumeration<? extends Principal> members()
- Specified by:
members in interface Group
getName
public String getName()
- Specified by:
getName in interface Principal
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.