public class GroupPrincipal extends Object implements Group, Serializable
| Constructor and Description |
|---|
GroupPrincipal(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Principal user) |
boolean |
equals(Object o) |
String |
getName() |
int |
hashCode() |
boolean |
isMember(Principal member) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal user) |
String |
toString() |
public GroupPrincipal(String name)
public boolean equals(Object o)
public int hashCode()
public String toString()
public boolean removeMember(Principal user)
removeMember in interface Grouppublic Enumeration<? extends Principal> members()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.