Class AclPolicy

java.lang.Object
com.day.cq.security.util.AclPolicy

@Deprecated public class AclPolicy extends Object
Deprecated.
Since CQ 5.3 Please use JCR API instead.
Littel tool to configure an ACL. To be set on the CRXPolicyManager. The Lists entries are ordered in the the sequence they have been added on this Object
  • Constructor Details

    • AclPolicy

      public AclPolicy()
      Deprecated.
    • AclPolicy

      public AclPolicy(String principal, String[] privilegeNames, boolean allow)
      Deprecated.
  • Method Details

    • allow

      public void allow(String principal, String... privilegeNames)
      Deprecated.
    • deny

      public void deny(String principal, String... privilegeNames)
      Deprecated.
    • addAce

      public void addAce(AccessControlEntry ace)
      Deprecated.
      Method to set a AccessControlEntry to the current Policy
      Parameters:
      ace - to set to this Policy
      Since:
      5.3