public class WrappedRolePrincipal extends BasicRole
Group
.Group
,
Serialized FormConstructor and Description |
---|
WrappedRolePrincipal(Group group)
Creates a role which delegates to the given group.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Principal user) |
boolean |
isMember(Principal member) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal user) |
equals, getName, hashCode
public WrappedRolePrincipal(Group group)
group
- public boolean addMember(Principal user)
public boolean removeMember(Principal user)
public boolean isMember(Principal member)
public Enumeration<? extends Principal> members()
Copyright © 2014. All rights reserved.