public final class EveryonePrincipal extends Object implements Group, GroupPrincipal, JackrabbitPrincipal
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(Principal user) |
boolean |
equals(Object obj) |
static EveryonePrincipal |
getInstance() |
String |
getName() |
int |
hashCode() |
boolean |
isMember(Principal member)
Returns true if the passed principal is a member of the group.
|
Enumeration<? extends Principal> |
members()
Returns an enumeration of the members in the group.
|
boolean |
removeMember(Principal user) |
public static final String NAME
public static EveryonePrincipal getInstance()
public boolean removeMember(Principal user)
removeMember
in interface Group
public boolean isMember(Principal member)
GroupPrincipal
isMember
in interface Group
isMember
in interface GroupPrincipal
member
- the principal whose membership is to be checked.public Enumeration<? extends Principal> members()
GroupPrincipal
members
in interface Group
members
in interface GroupPrincipal
public int hashCode()
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.