org.picketlink.identity.federation.bindings.jboss.subject
Class PicketLinkGroup
java.lang.Object
org.picketlink.identity.federation.bindings.jboss.subject.PicketLinkPrincipal
org.picketlink.identity.federation.bindings.jboss.subject.PicketLinkGroup
- All Implemented Interfaces:
- Serializable, Group, Principal
public class PicketLinkGroup
- extends PicketLinkPrincipal
- implements Group
A Principal Group used to register roles in JBoss
- Since:
- Jan 16, 2009
- Author:
- Anil.Saldhana@redhat.com
- See Also:
- Serialized Form
PicketLinkGroup
public PicketLinkGroup(String name)
addMember
public boolean addMember(Principal role)
- Add a role principal to group
- Specified by:
addMember
in interface Group
- See Also:
Group.addMember(java.security.Principal)
isMember
public boolean isMember(Principal role)
- Check if the role is a member of the group
- Specified by:
isMember
in interface Group
- See Also:
Group.isMember(java.security.Principal)
members
public Enumeration<? extends Principal> members()
- Get the group members
- Specified by:
members
in interface Group
- See Also:
Group.members()
removeMember
public boolean removeMember(Principal user)
- Remove role from groups
- Specified by:
removeMember
in interface Group
- See Also:
Group.removeMember(java.security.Principal)
Copyright © 2012 JBoss Inc.. All Rights Reserved.