Interface ItemBasedPrincipal
-
- All Superinterfaces:
JackrabbitPrincipal,java.security.Principal
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 RepositoryExceptionReturns the JCR path of the item that corresponds to thisPrincipal.- Returns:
- the path of the
Itemthat corresponds to thisPrincipal. - Throws:
RepositoryException- If an error occurs while retrieving theItempath.
-
-