org.apache.karaf.jaas.boot.principal
Class GroupPrincipal

java.lang.Object
  extended by org.apache.karaf.jaas.boot.principal.GroupPrincipal
All Implemented Interfaces:
Group, Principal

public class GroupPrincipal
extends Object
implements Group


Constructor Summary
GroupPrincipal(String name)
           
 
Method Summary
 boolean addMember(Principal user)
           
 String getName()
           
 boolean isMember(Principal member)
           
 Enumeration<? extends Principal> members()
           
 boolean removeMember(Principal user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Constructor Detail

GroupPrincipal

public GroupPrincipal(String name)
Method Detail

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.