public final class SimpleGroup extends SimplePrincipal implements Group
Constructor and Description |
---|
SimpleGroup(String name)
Creates a new group with the given name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Principal user) |
boolean |
isMember(Principal member) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal user) |
String |
toString() |
equals, getName, hashCode
public SimpleGroup(String name)
name
- Group name.public Enumeration<? extends Principal> members()
public boolean removeMember(Principal user)
removeMember
in interface Group
public String toString()
toString
in interface Principal
toString
in class SimplePrincipal
Copyright © 2006–2014 Jasig. All rights reserved.