@SerializeWith(value=SimpleGroupPrincipal.Externalizer.class) public class SimpleGroupPrincipal extends Object implements Group
Modifier and Type | Class and Description |
---|---|
static class |
SimpleGroupPrincipal.Externalizer |
Constructor and Description |
---|
SimpleGroupPrincipal(String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Principal user) |
String |
getName() |
boolean |
isMember(Principal member) |
Enumeration<? extends Principal> |
members() |
boolean |
removeMember(Principal user) |
String |
toString() |
public SimpleGroupPrincipal(String name)
public boolean removeMember(Principal user)
removeMember
in interface Group
public Enumeration<? extends Principal> members()
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.