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 Group
public Enumeration<? extends Principal> members()
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
Object.hashCode()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.