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

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

public class AdminPrincipal
extends Object
implements JackrabbitPrincipal

This principal represents the admin user as a distinct principal having all the access rights and is being authenticated (in contrast to the SystemPrincipal).


Constructor Summary
AdminPrincipal(String adminId)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
toString
 

Constructor Detail

AdminPrincipal

public AdminPrincipal(String adminId)
Method Detail

getName

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

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.