Serializable, Group, Principalpublic class GroupPrincipal extends UserPrincipal implements Group
| Constructor | Description |
|---|---|
GroupPrincipal(String fqn) |
Instantiates a new group principal.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addMember(Principal user) |
|
String |
getName() |
Fully qualified username.
|
boolean |
isMember(Principal user) |
|
Enumeration<? extends Principal> |
members() |
|
boolean |
removeMember(Principal user) |
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, 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–2018 com.github.waffle. All rights reserved.