Class ProxyJackrabbitAccessControlManager

java.lang.Object
org.apache.sling.jcr.base.internal.mount.ProxyWrapper<T>
org.apache.sling.jcr.base.internal.mount.ProxyAccessControlManager<org.apache.jackrabbit.api.security.JackrabbitAccessControlManager>
org.apache.sling.jcr.base.internal.mount.ProxyJackrabbitAccessControlManager
All Implemented Interfaces:
javax.jcr.security.AccessControlManager, org.apache.jackrabbit.api.security.JackrabbitAccessControlManager

public class ProxyJackrabbitAccessControlManager extends ProxyAccessControlManager<org.apache.jackrabbit.api.security.JackrabbitAccessControlManager> implements org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
  • Constructor Details

    • ProxyJackrabbitAccessControlManager

      public ProxyJackrabbitAccessControlManager(ProxySession<?> mountSession, org.apache.jackrabbit.api.security.JackrabbitAccessControlManager delegate, org.apache.jackrabbit.api.security.JackrabbitAccessControlManager mount)
  • Method Details

    • getApplicablePolicies

      public org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicy[] getApplicablePolicies(Principal principal) throws javax.jcr.AccessDeniedException, javax.jcr.security.AccessControlException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
      Specified by:
      getApplicablePolicies in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
      Throws:
      javax.jcr.AccessDeniedException
      javax.jcr.security.AccessControlException
      javax.jcr.UnsupportedRepositoryOperationException
      javax.jcr.RepositoryException
    • getPolicies

      public org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicy[] getPolicies(Principal principal) throws javax.jcr.AccessDeniedException, javax.jcr.security.AccessControlException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
      Specified by:
      getPolicies in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
      Throws:
      javax.jcr.AccessDeniedException
      javax.jcr.security.AccessControlException
      javax.jcr.UnsupportedRepositoryOperationException
      javax.jcr.RepositoryException
    • getEffectivePolicies

      public javax.jcr.security.AccessControlPolicy[] getEffectivePolicies(Set<Principal> principals) throws javax.jcr.AccessDeniedException, javax.jcr.security.AccessControlException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
      Specified by:
      getEffectivePolicies in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
      Throws:
      javax.jcr.AccessDeniedException
      javax.jcr.security.AccessControlException
      javax.jcr.UnsupportedRepositoryOperationException
      javax.jcr.RepositoryException
    • hasPrivileges

      public boolean hasPrivileges(String absPath, Set<Principal> principals, javax.jcr.security.Privilege[] privileges) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
      Specified by:
      hasPrivileges in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
      Throws:
      javax.jcr.PathNotFoundException
      javax.jcr.AccessDeniedException
      javax.jcr.RepositoryException
    • getPrivileges

      public javax.jcr.security.Privilege[] getPrivileges(String absPath, Set<Principal> principals) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
      Specified by:
      getPrivileges in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
      Throws:
      javax.jcr.PathNotFoundException
      javax.jcr.AccessDeniedException
      javax.jcr.RepositoryException