Package com.day.cq.security.util
Class CRXPolicyManager
java.lang.Object
com.day.cq.security.util.CRXPolicyManager
Deprecated.
Since CQ 5.3 Please use JCR API instead.
Tool to apply Access Control on a CRX Repository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyPolicy
(String path, AclPolicy policy) Deprecated.Applies the Policy.Deprecated.
-
Constructor Details
-
CRXPolicyManager
Deprecated.- Throws:
RepositoryException
-
-
Method Details
-
applyPolicy
Deprecated.Applies the Policy. Adds Entries to the Repository's ACL. The ACL is only modified if the effective Permissions are changed by the Policy given.- Parameters:
path
- to apply the Policy topolicy
- to apply- Returns:
- if the Repository changed
- Throws:
AccessDeniedException
- the Session is not allowe to modify Access Control- See Also:
-
privatePolicy
Deprecated.- Returns:
- creates a Policy that initaly denies access to everybody
-