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 Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Returns the JCR path of the item that corresponds to this Principal.

    Methods inherited from interface java.security.Principal

    equals, getName, hashCode, implies, toString
  • Method Details

    • 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.