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: immutable
test_class.modifier: private
test_class.original_string: private ImmutablePrincipalPolicy immutable;
test_class.type: ImmutablePrincipalPolicy
test_class.var_name: immutable
test_class.file: oak-authorization-principalbased/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/ImmutablePrincipalPolicyTest.java
test_class.identifier: ImmutablePrincipalPolicyTest
test_class.superclass: extends AbstractPrincipalBasedTest
test_case.body: @Test(expected = AccessControlException.class)
      public void testAddEntry() throws Exception {
          immutable.addEntry(PathUtils.ROOT_PATH, privilegesFromNames(PrivilegeConstants.JCR_READ));
      }
test_case.class_method_signature: ImmutablePrincipalPolicyTest.testAddEntry()
test_case.full_signature: @Test(expected = AccessControlException.class) public void testAddEntry()
test_case.identifier: testAddEntry
test_case.invocations: addEntry privilegesFromNames
test_case.modifiers: @Test(expected = AccessControlException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddEntry()
focal_class.declarator: log = LoggerFactory.getLogger(ImmutablePrincipalPolicy.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(ImmutablePrincipalPolicy.class);
focal_class.type: Logger
focal_class.var_name: log
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: hashCode
focal_class.modifier: private
focal_class.original_string: private int hashCode;
focal_class.type: int
focal_class.var_name: hashCode
focal_class.file: oak-authorization-principalbased/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/ImmutablePrincipalPolicy.java
focal_class.identifier: ImmutablePrincipalPolicy
focal_class.interfaces: implements PrincipalAccessControlList
focal_class.class_method_signature: ImmutablePrincipalPolicy.ImmutablePrincipalPolicy(@NotNull Principal principal, @NotNull String oakPath, @NotNull List<? extends PrincipalAccessControlList.Entry> entries, @NotNull RestrictionProvider restrictionProvider, @NotNull NamePathMapper namePathMapper)
focal_class.full_signature: public  ImmutablePrincipalPolicy(@NotNull Principal principal, @NotNull String oakPath, @NotNull List<? extends PrincipalAccessControlList.Entry> entries, @NotNull RestrictionProvider restrictionProvider, @NotNull NamePathMapper namePathMapper)
focal_class.identifier: ImmutablePrincipalPolicy
focal_class.modifiers: public
focal_class.parameters: (@NotNull Principal principal, @NotNull String oakPath, @NotNull List<? extends PrincipalAccessControlList.Entry> entries, @NotNull RestrictionProvider restrictionProvider, @NotNull NamePathMapper namePathMapper)
focal_class.signature:  ImmutablePrincipalPolicy(@NotNull Principal principal, @NotNull String oakPath, @NotNull List<? extends PrincipalAccessControlList.Entry> entries, @NotNull RestrictionProvider restrictionProvider, @NotNull NamePathMapper namePathMapper)
focal_class.class_method_signature: ImmutablePrincipalPolicy.ImmutablePrincipalPolicy(@NotNull PrincipalPolicyImpl accessControlList)
focal_class.full_signature: public  ImmutablePrincipalPolicy(@NotNull PrincipalPolicyImpl accessControlList)
focal_class.identifier: ImmutablePrincipalPolicy
focal_class.modifiers: public
focal_class.parameters: (@NotNull PrincipalPolicyImpl accessControlList)
focal_class.signature:  ImmutablePrincipalPolicy(@NotNull PrincipalPolicyImpl accessControlList)
focal_class.class_method_signature: ImmutablePrincipalPolicy.getPrincipal()
focal_class.full_signature: @Override public @NotNull Principal getPrincipal()
focal_class.identifier: getPrincipal
focal_class.modifiers: @Override public @NotNull
focal_class.parameters: ()
focal_class.return: Principal
focal_class.signature: Principal getPrincipal()
focal_class.class_method_signature: ImmutablePrincipalPolicy.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: ImmutablePrincipalPolicy.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: ImmutablePrincipalPolicy.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ImmutablePrincipalPolicy.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.superclass: extends ImmutableACL
focal_method.body: @Override
      public boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges) throws RepositoryException {
          throw new AccessControlException("Immutable PrincipalAccessControlList.");
      }
focal_method.class_method_signature: ImmutablePrincipalPolicy.addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_method.full_signature: @Override public boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_method.identifier: addEntry
focal_method.modifiers: @Override public
focal_method.parameters: (@Nullable String effectivePath, @NotNull Privilege[] privileges)
focal_method.return: boolean
focal_method.signature: boolean addEntry(@Nullable String effectivePath, @NotNull Privilege[] privileges)