Interface ItemBasedPrincipal
- 
- All Superinterfaces:
 JackrabbitPrincipal,java.security.Principal
@ProviderType public interface ItemBasedPrincipal extends JackrabbitPrincipal
ItemBasedPrincipalis aPrincipalhaving a corresponding item within the JCR repository. In addition to the methods inherited from thePrincipalinterface it therefore provides agetPath()method. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull java.lang.StringgetPath()Returns the JCR path of the item that corresponds to thisPrincipal. 
 - 
 
- 
- 
Method Detail
- 
getPath
@NotNull @NotNull java.lang.String getPath() throws javax.jcr.RepositoryExceptionReturns the JCR path of the item that corresponds to thisPrincipal.- Returns:
 - the path of the 
Itemthat corresponds to thisPrincipal. - Throws:
 javax.jcr.RepositoryException- If an error occurs while retrieving theItempath.
 
 - 
 
 -