public class PicketLinkGroup extends PicketLinkPrincipal implements Group
name| Constructor and Description |
|---|
PicketLinkGroup(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Principal role)
Add a role principal to group
|
boolean |
isMember(Principal role)
Check if the role is a member of the group
|
Enumeration<? extends Principal> |
members()
Get the group members
|
boolean |
removeMember(Principal user)
Remove role from groups
|
equals, getName, hashCode, toStringpublic PicketLinkGroup(String name)
public boolean addMember(Principal role)
addMember in interface GroupGroup.addMember(java.security.Principal)public boolean isMember(Principal role)
isMember in interface GroupGroup.isMember(java.security.Principal)public Enumeration<? extends Principal> members()
members in interface GroupGroup.members()public boolean removeMember(Principal user)
removeMember in interface GroupGroup.removeMember(java.security.Principal)Copyright © 2012 JBoss by Red Hat. All Rights Reserved.