public class GroupPrincipal extends Object implements Group, Serializable
addMember(Principal)
methods etc throw UnsupportedOperationException.| Constructor and Description |
|---|
GroupPrincipal(String groupName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Principal user) |
boolean |
equals(Object obj) |
String |
getName() |
int |
hashCode() |
boolean |
isMember(Principal member) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal user) |
public GroupPrincipal(String groupName)
public boolean removeMember(Principal user)
removeMember in interface Grouppublic Enumeration<? extends Principal> members()
public int hashCode()
hashCode in interface PrincipalhashCode in class ObjectObject.hashCode()Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.