org.apache.jackrabbit.core.security.principal
Class EveryonePrincipal

java.lang.Object
  extended by org.apache.jackrabbit.core.security.principal.EveryonePrincipal
All Implemented Interfaces:
Group, Principal

public final class EveryonePrincipal
extends Object
implements Group

The EveryonePrincipal contains all principals (excluding itself).


Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Method Detail

getInstance

public static EveryonePrincipal getInstance()

getName

public String getName()
Specified by:
getName in interface Principal

addMember

public boolean addMember(Principal user)
Specified by:
addMember in interface Group

removeMember

public boolean removeMember(Principal user)
Specified by:
removeMember in interface Group

isMember

public boolean isMember(Principal member)
Specified by:
isMember in interface Group

members

public Enumeration<? extends Principal> members()
Specified by:
members in interface Group

hashCode

public int hashCode()
Specified by:
hashCode in interface Principal
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Specified by:
equals in interface Principal
Overrides:
equals in class Object


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.