test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACLTest.java
test_class.identifier: ACLTest
test_class.interfaces: implements PrivilegeConstants, AccessControlConstants
test_class.superclass: extends AbstractAccessControlTest
test_case.body: @Test
      public void testEmptyAcl() {
          AbstractAccessControlList acl = createEmptyACL();
  
          assertNotNull(acl.getAccessControlEntries());
          assertNotNull(acl.getEntries());
  
          assertEquals(0, acl.getAccessControlEntries().length);
          assertEquals(acl.getAccessControlEntries().length, acl.getEntries().size());
          assertEquals(0, acl.size());
          assertTrue(acl.isEmpty());
      }
test_case.class_method_signature: ACLTest.testEmptyAcl()
test_case.full_signature: @Test public void testEmptyAcl()
test_case.identifier: testEmptyAcl
test_case.invocations: createEmptyACL assertNotNull getAccessControlEntries assertNotNull getEntries assertEquals getAccessControlEntries assertEquals getAccessControlEntries size getEntries assertEquals size assertTrue isEmpty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEmptyAcl()
focal_class.declarator: log = LoggerFactory.getLogger(ACL.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(ACL.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: entries = new ArrayList<>()
focal_class.modifier: private final
focal_class.original_string: private final List<ACE> entries = new ArrayList<>();
focal_class.type: List<ACE>
focal_class.var_name: entries
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ACL.java
focal_class.identifier: ACL
focal_class.class_method_signature: ACL.ACL(@Nullable String oakPath, @Nullable List<ACE> entries,
          @NotNull NamePathMapper namePathMapper)
focal_class.full_signature:   ACL(@Nullable String oakPath, @Nullable List<ACE> entries,
          @NotNull NamePathMapper namePathMapper)
focal_class.identifier: ACL
focal_class.parameters: (@Nullable String oakPath, @Nullable List<ACE> entries,
          @NotNull NamePathMapper namePathMapper)
focal_class.signature:  ACL(@Nullable String oakPath, @Nullable List<ACE> entries,
          @NotNull NamePathMapper namePathMapper)
focal_class.class_method_signature: ACL.createACE(Principal principal, PrivilegeBits privilegeBits, boolean isAllow, Set<Restriction> restrictions)
focal_class.full_signature: abstract ACE createACE(Principal principal, PrivilegeBits privilegeBits, boolean isAllow, Set<Restriction> restrictions)
focal_class.identifier: createACE
focal_class.modifiers: abstract
focal_class.parameters: (Principal principal, PrivilegeBits privilegeBits, boolean isAllow, Set<Restriction> restrictions)
focal_class.return: ACE
focal_class.signature: ACE createACE(Principal principal, PrivilegeBits privilegeBits, boolean isAllow, Set<Restriction> restrictions)
focal_class.class_method_signature: ACL.checkValidPrincipal(Principal principal)
focal_class.full_signature: abstract boolean checkValidPrincipal(Principal principal)
focal_class.identifier: checkValidPrincipal
focal_class.modifiers: abstract
focal_class.parameters: (Principal principal)
focal_class.return: boolean
focal_class.signature: boolean checkValidPrincipal(Principal principal)
focal_class.class_method_signature: ACL.getPrivilegeManager()
focal_class.full_signature: abstract PrivilegeManager getPrivilegeManager()
focal_class.identifier: getPrivilegeManager
focal_class.modifiers: abstract
focal_class.parameters: ()
focal_class.return: PrivilegeManager
focal_class.signature: PrivilegeManager getPrivilegeManager()
focal_class.class_method_signature: ACL.getPrivilegeBits(Privilege[] privileges)
focal_class.full_signature: abstract PrivilegeBits getPrivilegeBits(Privilege[] privileges)
focal_class.identifier: getPrivilegeBits
focal_class.modifiers: abstract
focal_class.parameters: (Privilege[] privileges)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getPrivilegeBits(Privilege[] privileges)
focal_class.class_method_signature: ACL.getEntries()
focal_class.full_signature: @NotNull @Override public List<ACE> getEntries()
focal_class.identifier: getEntries
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: List<ACE>
focal_class.signature: List<ACE> getEntries()
focal_class.class_method_signature: ACL.removeAccessControlEntry(AccessControlEntry ace)
focal_class.full_signature: @Override public void removeAccessControlEntry(AccessControlEntry ace)
focal_class.identifier: removeAccessControlEntry
focal_class.modifiers: @Override public
focal_class.parameters: (AccessControlEntry ace)
focal_class.return: void
focal_class.signature: void removeAccessControlEntry(AccessControlEntry ace)
focal_class.class_method_signature: ACL.addEntry(@NotNull Principal principal, @NotNull Privilege[] privileges,
                              boolean isAllow, @Nullable Map<String, Value> restrictions,
                              @Nullable Map<String, Value[]> mvRestrictions)
focal_class.full_signature: @Override public boolean addEntry(@NotNull Principal principal, @NotNull Privilege[] privileges,
                              boolean isAllow, @Nullable Map<String, Value> restrictions,
                              @Nullable Map<String, Value[]> mvRestrictions)
focal_class.identifier: addEntry
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Principal principal, @NotNull Privilege[] privileges,
                              boolean isAllow, @Nullable Map<String, Value> restrictions,
                              @Nullable Map<String, Value[]> mvRestrictions)
focal_class.return: boolean
focal_class.signature: boolean addEntry(@NotNull Principal principal, @NotNull Privilege[] privileges,
                              boolean isAllow, @Nullable Map<String, Value> restrictions,
                              @Nullable Map<String, Value[]> mvRestrictions)
focal_class.class_method_signature: ACL.orderBefore(@NotNull AccessControlEntry srcEntry, @Nullable AccessControlEntry destEntry)
focal_class.full_signature: @Override public void orderBefore(@NotNull AccessControlEntry srcEntry, @Nullable AccessControlEntry destEntry)
focal_class.identifier: orderBefore
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull AccessControlEntry srcEntry, @Nullable AccessControlEntry destEntry)
focal_class.return: void
focal_class.signature: void orderBefore(@NotNull AccessControlEntry srcEntry, @Nullable AccessControlEntry destEntry)
focal_class.class_method_signature: ACL.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: ACL.checkACE(AccessControlEntry entry)
focal_class.full_signature: private static ACE checkACE(AccessControlEntry entry)
focal_class.identifier: checkACE
focal_class.modifiers: private static
focal_class.parameters: (AccessControlEntry entry)
focal_class.return: ACE
focal_class.signature: ACE checkACE(AccessControlEntry entry)
focal_class.class_method_signature: ACL.internalAddEntry(@NotNull ACE entry)
focal_class.full_signature: private boolean internalAddEntry(@NotNull ACE entry)
focal_class.identifier: internalAddEntry
focal_class.modifiers: private
focal_class.parameters: (@NotNull ACE entry)
focal_class.return: boolean
focal_class.signature: boolean internalAddEntry(@NotNull ACE entry)
focal_class.class_method_signature: ACL.createACE(@NotNull ACE existing, @NotNull PrivilegeBits newPrivilegeBits)
focal_class.full_signature: private ACE createACE(@NotNull ACE existing, @NotNull PrivilegeBits newPrivilegeBits)
focal_class.identifier: createACE
focal_class.modifiers: private
focal_class.parameters: (@NotNull ACE existing, @NotNull PrivilegeBits newPrivilegeBits)
focal_class.return: ACE
focal_class.signature: ACE createACE(@NotNull ACE existing, @NotNull PrivilegeBits newPrivilegeBits)
focal_class.class_method_signature: ACL.validateRestrictions(@NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.full_signature: @NotNull private Set<Restriction> validateRestrictions(@NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.identifier: validateRestrictions
focal_class.modifiers: @NotNull private
focal_class.parameters: (@NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.return: Set<Restriction>
focal_class.signature: Set<Restriction> validateRestrictions(@NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.superclass: extends AbstractAccessControlList
focal_method.body: @NotNull
      @Override
      public List<ACE> getEntries() {
          return entries;
      }
focal_method.class_method_signature: ACL.getEntries()
focal_method.full_signature: @NotNull @Override public List<ACE> getEntries()
focal_method.identifier: getEntries
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: ()
focal_method.return: List<ACE>
focal_method.signature: List<ACE> getEntries()