public class SimpleGroup extends SimplePrincipal implements Group
| Constructor and Description |
|---|
SimpleGroup(String groupName) |
SimpleGroup(String groupName,
Principal member) |
SimpleGroup(String groupName,
String memberName) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addMember(Principal p) |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isMember(Principal p) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal p) |
getName, toStringpublic SimpleGroup(String groupName)
public Enumeration<? extends Principal> members()
public boolean removeMember(Principal p)
removeMember in interface Grouppublic boolean equals(Object obj)
equals in interface Principalequals in class SimplePrincipalpublic int hashCode()
hashCode in interface PrincipalhashCode in class SimplePrincipalCopyright © 2018 JBoss by Red Hat. All rights reserved.