Class JcrSupportedPrivilegesProperty


  • public class JcrSupportedPrivilegesProperty
    extends Object
    JcrSupportedPrivilegesProperty...
    • Constructor Detail

      • JcrSupportedPrivilegesProperty

        public JcrSupportedPrivilegesProperty​(Session session)
                                       throws RepositoryException
        Build supported privileges for the jcr:all privilege.
        Parameters:
        session - The reading session
        Throws:
        RepositoryException
      • JcrSupportedPrivilegesProperty

        public JcrSupportedPrivilegesProperty​(Session session,
                                              String absPath)
        Parameters:
        session - The reading session
        absPath - An absolute path to an existing JCR node or null.
    • Method Detail

      • asDavProperty

        public org.apache.jackrabbit.webdav.security.SupportedPrivilegeSetProperty asDavProperty()
                                                                                          throws RepositoryException
        Calculated the supported privileges at absPath and build a SupportedPrivilegeSetProperty from the result.
        Returns:
        a new SupportedPrivilegeSetProperty property.
        Throws:
        RepositoryException