public class GroupPrincipal extends UserPrincipal implements Group
| Constructor and Description |
|---|
GroupPrincipal(String fqn)
Instantiates a new group principal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Principal user) |
String |
getName()
Fully qualified username.
|
boolean |
isMember(Principal user) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal user) |
String |
toString() |
equals, hashCodepublic GroupPrincipal(String fqn)
fqn - the fqnpublic String getName()
UserPrincipalgetName in interface PrincipalgetName in class UserPrincipalpublic Enumeration<? extends Principal> members()
public boolean removeMember(Principal user)
removeMember in interface GroupCopyright © 2010–2020 com.github.waffle. All rights reserved.