org.apache.jetspeed.security.impl.ext
Class JBossLoginModule.JBossGroup

java.lang.Object
  extended by org.apache.jetspeed.security.impl.ext.JBossLoginModule.JBossGroup
All Implemented Interfaces:
Group, Principal
Enclosing class:
JBossLoginModule

private static class JBossLoginModule.JBossGroup
extends Object
implements Group


Field Summary
private  ArrayList members
           
private  String name
           
 
Constructor Summary
JBossLoginModule.JBossGroup(String name, List members)
           
 
Method Summary
 boolean addMember(Principal user)
           
 String getName()
           
 boolean isMember(Principal member)
           
 Enumeration 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
 

Field Detail

name

private String name

members

private ArrayList members
Constructor Detail

JBossLoginModule.JBossGroup

public JBossLoginModule.JBossGroup(String name,
                                   List members)
Method Detail

addMember

public boolean addMember(Principal user)
Specified by:
addMember in interface Group

isMember

public boolean isMember(Principal member)
Specified by:
isMember in interface Group

removeMember

public boolean removeMember(Principal user)
Specified by:
removeMember in interface Group

members

public Enumeration members()
Specified by:
members in interface Group

getName

public String getName()
Specified by:
getName in interface Principal


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.