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, toString
public PicketLinkGroup(String name)
public boolean addMember(Principal role)
addMember
in interface Group
Group.addMember(java.security.Principal)
public boolean isMember(Principal role)
isMember
in interface Group
Group.isMember(java.security.Principal)
public Enumeration<? extends Principal> members()
members
in interface Group
Group.members()
public boolean removeMember(Principal user)
removeMember
in interface Group
Group.removeMember(java.security.Principal)
Copyright © 2019 JBoss by Red Hat. All rights reserved.