org.apache.openejb.core.security
Class AbstractSecurityService.Group

java.lang.Object
  extended by org.apache.openejb.core.security.AbstractSecurityService.Group
All Implemented Interfaces:
Group, Principal
Enclosing class:
AbstractSecurityService

public static class AbstractSecurityService.Group
extends Object
implements Group


Constructor Summary
AbstractSecurityService.Group(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

AbstractSecurityService.Group

public AbstractSecurityService.Group(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 © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.