org.apache.jackrabbit.api.security.principal
Interface ItemBasedPrincipal
- All Superinterfaces:
- JackrabbitPrincipal, Principal
public interface ItemBasedPrincipal
- extends JackrabbitPrincipal
ItemBasedPrincipal
is a Principal
having a
corresponding item within the JCR repository. In addition to the methods
inherited from the Principal
interface it therefore
provides a getPath()
method.
Method Summary |
String |
getPath()
Returns the JCR path of the item that corresponds to this
Principal . |
getPath
String getPath()
throws RepositoryException
- Returns the JCR path of the item that corresponds to this
Principal
.
- Returns:
- the path of the
Item
that corresponds to this
Principal
.
- Throws:
RepositoryException
- If an error occurs while retrieving the
Item
path.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.