Class AccessControlManagerDelegator
java.lang.Object
org.apache.jackrabbit.oak.jcr.delegate.AccessControlManagerDelegator
- All Implemented Interfaces:
AccessControlManager
This implementation of
AccessControlManager
delegates back to a
delegatee wrapping each call into a SessionOperation
closure.-
Constructor Summary
ConstructorsConstructorDescriptionAccessControlManagerDelegator
(@NotNull SessionDelegate delegate, @NotNull AccessControlManager acManager) -
Method Summary
Modifier and TypeMethodDescriptiongetApplicablePolicies
(String absPath) getEffectivePolicies
(String absPath) getPolicies
(String absPath) getPrivileges
(String absPath) getSupportedPrivileges
(String absPath) boolean
hasPrivileges
(String absPath, Privilege[] privileges) privilegeFromName
(String privilegeName) void
removePolicy
(String absPath, AccessControlPolicy policy) void
setPolicy
(String absPath, AccessControlPolicy policy)
-
Constructor Details
-
AccessControlManagerDelegator
public AccessControlManagerDelegator(@NotNull @NotNull SessionDelegate delegate, @NotNull @NotNull AccessControlManager acManager)
-
-
Method Details
-
getSupportedPrivileges
- Specified by:
getSupportedPrivileges
in interfaceAccessControlManager
- Throws:
RepositoryException
-
privilegeFromName
- Specified by:
privilegeFromName
in interfaceAccessControlManager
- Throws:
RepositoryException
-
hasPrivileges
- Specified by:
hasPrivileges
in interfaceAccessControlManager
- Throws:
RepositoryException
-
getPrivileges
- Specified by:
getPrivileges
in interfaceAccessControlManager
- Throws:
RepositoryException
-
getPolicies
- Specified by:
getPolicies
in interfaceAccessControlManager
- Throws:
RepositoryException
-
getEffectivePolicies
- Specified by:
getEffectivePolicies
in interfaceAccessControlManager
- Throws:
RepositoryException
-
getApplicablePolicies
- Specified by:
getApplicablePolicies
in interfaceAccessControlManager
- Throws:
RepositoryException
-
setPolicy
- Specified by:
setPolicy
in interfaceAccessControlManager
- Throws:
RepositoryException
-
removePolicy
- Specified by:
removePolicy
in interfaceAccessControlManager
- Throws:
RepositoryException
-