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 Grouppublic boolean isMember(Principal member)
GroupPrincipalisMember in interface GroupisMember in interface GroupPrincipalmember - the principal whose membership is to be checked.public Enumeration<? extends Principal> members()
GroupPrincipalmembers in interface Groupmembers in interface GroupPrincipalpublic int hashCode()
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.