All Known Implementing Classes:
GetAceServlet

public interface GetAce
The GetAce service api.

This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.

  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.json.JsonObject
    getAce(javax.jcr.Session jcrSession, String resourcePath, String principalId)
    Gets the declared access control entry for a resource and principal
  • Method Details

    • getAce

      jakarta.json.JsonObject getAce(javax.jcr.Session jcrSession, String resourcePath, String principalId) throws javax.jcr.RepositoryException
      Gets the declared access control entry for a resource and principal
      Parameters:
      jcrSession - the JCR session of the user updating the user
      resourcePath - The path of the resource to get the ACE for (required)
      principalId - the principal to get the ACE for (required)
      Returns:
      the ACE as a JSON object
      Throws:
      javax.jcr.RepositoryException - if any errors reading the information