org.jasig.cas.client.authentication
Class SimpleGroup
java.lang.Object
org.jasig.cas.client.authentication.SimplePrincipal
org.jasig.cas.client.authentication.SimpleGroup
- All Implemented Interfaces:
- Serializable, Group, Principal
public final class SimpleGroup
- extends SimplePrincipal
- implements Group
Simple security group implementation
- Since:
- 3.1.11
- Version:
- $Revision: 22120 $
- Author:
- Marvin S. Addison
- See Also:
- Serialized Form
|
Constructor Summary |
SimpleGroup(String name)
Creates a new group with the given name. |
SimpleGroup
public SimpleGroup(String name)
- Creates a new group with the given name.
- Parameters:
name - Group name.
addMember
public boolean addMember(Principal user)
- Specified by:
addMember 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
removeMember
public boolean removeMember(Principal user)
- Specified by:
removeMember in interface Group
toString
public String toString()
- Specified by:
toString in interface Principal- Overrides:
toString in class SimplePrincipal
Copyright © 2006-2011 Jasig. All Rights Reserved.