org.apache.jackrabbit.core.security.principal
Interface ItemBasedPrincipal

All Superinterfaces:
JackrabbitPrincipal, Principal

public interface ItemBasedPrincipal
extends JackrabbitPrincipal

ItemBasedPrincipal is a Principal that is persisted as item within the repository. In addition to the methods inherited from the Principal interface it therefore provides a getPath() method.


Method Summary
 String getPath()
           
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getPath

String getPath()
               throws RepositoryException
Returns:
the path of the Item that represents this Principal.
Throws:
RepositoryException - If an error occurs while retrieving the Item path.


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