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