Class EveryonePrincipal
- java.lang.Object
-
- org.apache.jackrabbit.core.security.principal.EveryonePrincipal
-
- All Implemented Interfaces:
Principal
,GroupPrincipal
,JackrabbitPrincipal
public final class EveryonePrincipal extends Object implements GroupPrincipal, JackrabbitPrincipal
The EveryonePrincipal contains all principals (excluding itself).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addMember(Principal user)
boolean
equals(Object obj)
static EveryonePrincipal
getInstance()
String
getName()
int
hashCode()
boolean
isMember(Principal member)
Enumeration<? extends Principal>
members()
boolean
removeMember(Principal user)
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static EveryonePrincipal getInstance()
-
addMember
public boolean addMember(Principal user)
-
removeMember
public boolean removeMember(Principal user)
-
isMember
public boolean isMember(Principal member)
- Specified by:
isMember
in interfaceGroupPrincipal
-
members
public Enumeration<? extends Principal> members()
- Specified by:
members
in interfaceGroupPrincipal
-
hashCode
public int hashCode()
-
-