Interface ItemBasedPrincipal

  • All Superinterfaces:
    JackrabbitPrincipal, java.security.Principal

    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

      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 this Principal.
      • Methods inherited from interface java.security.Principal

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

      • getPath

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