Class CRXPolicyManager


  • @Deprecated
    public class CRXPolicyManager
    extends java.lang.Object
    Deprecated.
    Since CQ 5.3 Please use JCR API instead.
    Tool to apply Access Control on a CRX Repository
    • Method Detail

      • applyPolicy

        public boolean applyPolicy​(java.lang.String path,
                                   AclPolicy policy)
                            throws AccessDeniedException
        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 to
        policy - to apply
        Returns:
        if the Repository changed
        Throws:
        AccessDeniedException - the Session is not allowe to modify Access Control
        See Also:
        privatePolicy(), AclPolicy(String, String[], boolean)
      • privatePolicy

        public AclPolicy privatePolicy()
        Deprecated.
        Returns:
        creates a Policy that initaly denies access to everybody