test_class.declarator: TEST_OAK_PATH = "/oak:test"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_OAK_PATH = "/oak:test";
test_class.type: String
test_class.var_name: TEST_OAK_PATH
test_class.declarator: POLICY_OAK_PATH = SUPPORTED_PATH + "/oak:testPath"
test_class.modifier: private static final
test_class.original_string: private static final String POLICY_OAK_PATH = SUPPORTED_PATH + "/oak:testPath";
test_class.type: String
test_class.var_name: POLICY_OAK_PATH
test_class.declarator: principal
test_class.modifier: private
test_class.original_string: private Principal principal;
test_class.type: Principal
test_class.var_name: principal
test_class.declarator: testJcrPath
test_class.modifier: private
test_class.original_string: private String testJcrPath;
test_class.type: String
test_class.var_name: testJcrPath
test_class.declarator: policyJcrPath
test_class.modifier: private
test_class.original_string: private String policyJcrPath;
test_class.type: String
test_class.var_name: policyJcrPath
test_class.declarator: emptyPolicy
test_class.modifier: private
test_class.original_string: private PrincipalPolicyImpl emptyPolicy;
test_class.type: PrincipalPolicyImpl
test_class.var_name: emptyPolicy
test_class.declarator: policy
test_class.modifier: private
test_class.original_string: private PrincipalPolicyImpl policy;
test_class.type: PrincipalPolicyImpl
test_class.var_name: policy
test_class.declarator: privilegeBitsProvider
test_class.modifier: private
test_class.original_string: private PrivilegeBitsProvider privilegeBitsProvider;
test_class.type: PrivilegeBitsProvider
test_class.var_name: privilegeBitsProvider
test_class.file: oak-authorization-principalbased/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/PrincipalPolicyImplTest.java
test_class.identifier: PrincipalPolicyImplTest
test_class.superclass: extends AbstractPrincipalBasedTest
test_case.body: @Test
      public void testIsEmpty() {
          assertEquals(policy.getEntries().isEmpty(), policy.isEmpty());
      }
test_case.class_method_signature: PrincipalPolicyImplTest.testIsEmpty()
test_case.full_signature: @Test public void testIsEmpty()
test_case.identifier: testIsEmpty
test_case.invocations: assertEquals isEmpty getEntries isEmpty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsEmpty()
focal_class.declarator: log = LoggerFactory.getLogger(PrincipalPolicyImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(PrincipalPolicyImpl.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<EntryImpl> entries = new ArrayList<>();
focal_class.type: List<EntryImpl>
focal_class.var_name: entries
focal_class.declarator: principal
focal_class.modifier: private final
focal_class.original_string: private final Principal principal;
focal_class.type: Principal
focal_class.var_name: principal
focal_class.declarator: restrictionProvider
focal_class.modifier: private final
focal_class.original_string: private final RestrictionProvider restrictionProvider;
focal_class.type: RestrictionProvider
focal_class.var_name: restrictionProvider
focal_class.declarator: privilegeManager
focal_class.modifier: private final
focal_class.original_string: private final PrivilegeManager privilegeManager;
focal_class.type: PrivilegeManager
focal_class.var_name: privilegeManager
focal_class.declarator: privilegeBitsProvider
focal_class.modifier: private final
focal_class.original_string: private final PrivilegeBitsProvider privilegeBitsProvider;
focal_class.type: PrivilegeBitsProvider
focal_class.var_name: privilegeBitsProvider
focal_class.file: oak-authorization-principalbased/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/PrincipalPolicyImpl.java
focal_class.identifier: PrincipalPolicyImpl
focal_class.interfaces: implements PrincipalAccessControlList
focal_class.class_method_signature: PrincipalPolicyImpl.PrincipalPolicyImpl(@NotNull Principal principal, @NotNull String oakPath, @NotNull MgrProvider mgrProvider)
focal_class.full_signature:   PrincipalPolicyImpl(@NotNull Principal principal, @NotNull String oakPath, @NotNull MgrProvider mgrProvider)
focal_class.identifier: PrincipalPolicyImpl
focal_class.parameters: (@NotNull Principal principal, @NotNull String oakPath, @NotNull MgrProvider mgrProvider)
focal_class.signature:  PrincipalPolicyImpl(@NotNull Principal principal, @NotNull String oakPath, @NotNull MgrProvider mgrProvider)
focal_class.class_method_signature: PrincipalPolicyImpl.addEntry(@NotNull Tree entryTree)
focal_class.full_signature:  boolean addEntry(@NotNull Tree entryTree)
focal_class.identifier: addEntry
focal_class.parameters: (@NotNull Tree entryTree)
focal_class.return: boolean
focal_class.signature: boolean addEntry(@NotNull Tree entryTree)
focal_class.class_method_signature: PrincipalPolicyImpl.getEntries()
focal_class.full_signature: @Override @NotNull public List<EntryImpl> getEntries()
focal_class.identifier: getEntries
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: ()
focal_class.return: List<EntryImpl>
focal_class.signature: List<EntryImpl> getEntries()
focal_class.class_method_signature: PrincipalPolicyImpl.getRestrictionProvider()
focal_class.full_signature: @Override @NotNull public RestrictionProvider getRestrictionProvider()
focal_class.identifier: getRestrictionProvider
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: ()
focal_class.return: RestrictionProvider
focal_class.signature: RestrictionProvider getRestrictionProvider()
focal_class.class_method_signature: PrincipalPolicyImpl.getPrincipal()
focal_class.full_signature: @Override @NotNull public Principal getPrincipal()
focal_class.identifier: getPrincipal
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: ()
focal_class.return: Principal
focal_class.signature: Principal getPrincipal()
focal_class.class_method_signature: PrincipalPolicyImpl.addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_class.full_signature: @Override public boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_class.identifier: addEntry
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_class.return: boolean
focal_class.signature: boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_class.class_method_signature: PrincipalPolicyImpl.addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.full_signature: @Override public boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.identifier: addEntry
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String effectivePath, @NotNull Privilege[] privileges, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.return: boolean
focal_class.signature: boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.class_method_signature: PrincipalPolicyImpl.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: PrincipalPolicyImpl.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: PrincipalPolicyImpl.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: PrincipalPolicyImpl.getOakName(@NotNull String jcrName)
focal_class.full_signature: @NotNull private String getOakName(@NotNull String jcrName)
focal_class.identifier: getOakName
focal_class.modifiers: @NotNull private
focal_class.parameters: (@NotNull String jcrName)
focal_class.return: String
focal_class.signature: String getOakName(@NotNull String jcrName)
focal_class.class_method_signature: PrincipalPolicyImpl.validateRestrictions(@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull  Map<String, Value[]> mvRestrictions)
focal_class.full_signature: @NotNull private Set<Restriction> validateRestrictions(@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull  Map<String, Value[]> mvRestrictions)
focal_class.identifier: validateRestrictions
focal_class.modifiers: @NotNull private
focal_class.parameters: (@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull  Map<String, Value[]> mvRestrictions)
focal_class.return: Set<Restriction>
focal_class.signature: Set<Restriction> validateRestrictions(@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull  Map<String, Value[]> mvRestrictions)
focal_class.class_method_signature: PrincipalPolicyImpl.computeRestrictions(@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.full_signature: @NotNull private Set<Restriction> computeRestrictions(@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.identifier: computeRestrictions
focal_class.modifiers: @NotNull private
focal_class.parameters: (@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.return: Set<Restriction>
focal_class.signature: Set<Restriction> computeRestrictions(@Nullable String effectiveOakPath, @NotNull Map<String, Value> restrictions, @NotNull Map<String, Value[]> mvRestrictions)
focal_class.class_method_signature: PrincipalPolicyImpl.extractPathFromRestrictions(@Nullable Map<String, Value> restrictions, @NotNull String jcrName)
focal_class.full_signature: @Nullable private String extractPathFromRestrictions(@Nullable Map<String, Value> restrictions, @NotNull String jcrName)
focal_class.identifier: extractPathFromRestrictions
focal_class.modifiers: @Nullable private
focal_class.parameters: (@Nullable Map<String, Value> restrictions, @NotNull String jcrName)
focal_class.return: String
focal_class.signature: String extractPathFromRestrictions(@Nullable Map<String, Value> restrictions, @NotNull String jcrName)
focal_class.class_method_signature: PrincipalPolicyImpl.validatePrivileges(@NotNull Privilege[] privileges)
focal_class.full_signature: @NotNull private PrivilegeBits validatePrivileges(@NotNull Privilege[] privileges)
focal_class.identifier: validatePrivileges
focal_class.modifiers: @NotNull private
focal_class.parameters: (@NotNull Privilege[] privileges)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits validatePrivileges(@NotNull Privilege[] privileges)
focal_class.class_method_signature: PrincipalPolicyImpl.validateEntry(@Nullable AccessControlEntry entry)
focal_class.full_signature: @NotNull private static EntryImpl validateEntry(@Nullable AccessControlEntry entry)
focal_class.identifier: validateEntry
focal_class.modifiers: @NotNull private static
focal_class.parameters: (@Nullable AccessControlEntry entry)
focal_class.return: EntryImpl
focal_class.signature: EntryImpl validateEntry(@Nullable AccessControlEntry entry)
focal_class.class_method_signature: PrincipalPolicyImpl.addEntry(@NotNull EntryImpl entry)
focal_class.full_signature: private boolean addEntry(@NotNull EntryImpl entry)
focal_class.identifier: addEntry
focal_class.modifiers: private
focal_class.parameters: (@NotNull EntryImpl entry)
focal_class.return: boolean
focal_class.signature: boolean addEntry(@NotNull EntryImpl entry)
focal_class.superclass: extends AbstractAccessControlList
focal_method.body: @Override
      @NotNull
      public List<EntryImpl> getEntries() {
          return entries;
      }
focal_method.class_method_signature: PrincipalPolicyImpl.getEntries()
focal_method.full_signature: @Override @NotNull public List<EntryImpl> getEntries()
focal_method.identifier: getEntries
focal_method.modifiers: @Override @NotNull public
focal_method.parameters: ()
focal_method.return: List<EntryImpl>
focal_method.signature: List<EntryImpl> getEntries()