Class SimpleGroupPrincipal
- java.lang.Object
-
- org.infinispan.server.core.security.simple.SimpleGroupPrincipal
-
@SerializeWith(Externalizer.class) public class SimpleGroupPrincipal extends Object implements Group
SimpleGroupPrincipal.- Since:
- 7.0
- Author:
- Tristan Tarrant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleGroupPrincipal.Externalizer
-
Constructor Summary
Constructors Constructor Description SimpleGroupPrincipal(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addMember(Principal user)
String
getName()
boolean
isMember(Principal member)
Enumeration<? extends Principal>
members()
boolean
removeMember(Principal user)
String
toString()
-
-
-
Constructor Detail
-
SimpleGroupPrincipal
public SimpleGroupPrincipal(String name)
-
-
Method Detail
-
removeMember
public boolean removeMember(Principal user)
- Specified by:
removeMember
in interfaceGroup
-
members
public Enumeration<? extends Principal> members()
-
-