Class AclPolicy


  • @Deprecated
    public class AclPolicy
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      AclPolicy()
      Deprecated.
       
      AclPolicy​(java.lang.String principal, java.lang.String[] privilegeNames, boolean allow)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addAce​(AccessControlEntry ace)
      Deprecated.
      Method to set a AccessControlEntry to the current Policy
      void allow​(java.lang.String principal, java.lang.String... privilegeNames)
      Deprecated.
       
      void deny​(java.lang.String principal, java.lang.String... privilegeNames)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AclPolicy

        public AclPolicy()
        Deprecated.
      • AclPolicy

        public AclPolicy​(java.lang.String principal,
                         java.lang.String[] privilegeNames,
                         boolean allow)
        Deprecated.
    • Method Detail

      • allow

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

        public void deny​(java.lang.String principal,
                         java.lang.String... privilegeNames)
        Deprecated.