Interface ItemBasedPrincipal

  • All Superinterfaces:
    JackrabbitPrincipal, Principal

    @ProviderType
    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 Detail

      • getPath

        @NotNull
        @NotNull 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.