public final class EveryonePrincipal extends java.lang.Object implements JackrabbitPrincipal, java.security.acl.Group, GroupPrincipal
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
addMember(java.security.Principal user) |
boolean |
equals(java.lang.Object obj) |
static EveryonePrincipal |
getInstance() |
java.lang.String |
getName() |
int |
hashCode() |
boolean |
isMember(@NotNull java.security.Principal member)
Returns true if the passed principal is a member of the group.
|
@NotNull java.util.Enumeration<? extends java.security.Principal> |
members()
Returns an enumeration of the members in the group.
|
boolean |
removeMember(java.security.Principal user) |
java.lang.String |
toString() |
public static final java.lang.String NAME
public static EveryonePrincipal getInstance()
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean addMember(java.security.Principal user)
addMember
in interface java.security.acl.Group
public boolean removeMember(java.security.Principal user)
removeMember
in interface java.security.acl.Group
public boolean isMember(@NotNull @NotNull java.security.Principal member)
GroupPrincipal
isMember
in interface java.security.acl.Group
isMember
in interface GroupPrincipal
member
- the principal whose membership is to be checked.@NotNull public @NotNull java.util.Enumeration<? extends java.security.Principal> members()
GroupPrincipal
members
in interface java.security.acl.Group
members
in interface GroupPrincipal
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in interface java.security.Principal
equals
in class java.lang.Object
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved