test_class.declarator: log = LoggerFactory.getLogger(PrincipalRestrictionProviderTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger log = LoggerFactory.getLogger(PrincipalRestrictionProviderTest.class);
test_class.type: Logger
test_class.var_name: log
test_class.declarator: base = mock(RestrictionProvider.class)
test_class.modifier: private
test_class.original_string: private RestrictionProvider base = mock(RestrictionProvider.class);
test_class.type: RestrictionProvider
test_class.var_name: base
test_class.declarator: provider = new PrincipalRestrictionProvider(base)
test_class.modifier: private
test_class.original_string: private PrincipalRestrictionProvider provider = new PrincipalRestrictionProvider(base);
test_class.type: PrincipalRestrictionProvider
test_class.var_name: provider
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/restriction/PrincipalRestrictionProviderTest.java
test_class.identifier: PrincipalRestrictionProviderTest
test_class.interfaces: implements AccessControlConstants
test_class.superclass: extends AbstractSecurityTest
test_case.body: @Test
      public void testGetPatternFromRestrictions() throws Exception {
          Restriction r = mock(Restriction.class);
          Set<Restriction> restrictions = Collections.singleton(r);
          provider.getPattern("/testPath", restrictions);
  
          verify(base, times(1)).getPattern("/testPath", restrictions);
      }
test_case.class_method_signature: PrincipalRestrictionProviderTest.testGetPatternFromRestrictions()
test_case.full_signature: @Test public void testGetPatternFromRestrictions()
test_case.identifier: testGetPatternFromRestrictions
test_case.invocations: mock singleton getPattern getPattern verify times
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetPatternFromRestrictions()
focal_class.declarator: base
focal_class.modifier: private final
focal_class.original_string: private final RestrictionProvider base;
focal_class.type: RestrictionProvider
focal_class.var_name: base
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/restriction/PrincipalRestrictionProvider.java
focal_class.identifier: PrincipalRestrictionProvider
focal_class.interfaces: implements RestrictionProvider, AccessControlConstants
focal_class.class_method_signature: PrincipalRestrictionProvider.PrincipalRestrictionProvider(RestrictionProvider base)
focal_class.full_signature: public  PrincipalRestrictionProvider(RestrictionProvider base)
focal_class.identifier: PrincipalRestrictionProvider
focal_class.modifiers: public
focal_class.parameters: (RestrictionProvider base)
focal_class.signature:  PrincipalRestrictionProvider(RestrictionProvider base)
focal_class.class_method_signature: PrincipalRestrictionProvider.getSupportedRestrictions(@Nullable String oakPath)
focal_class.full_signature: @NotNull @Override public Set<RestrictionDefinition> getSupportedRestrictions(@Nullable String oakPath)
focal_class.identifier: getSupportedRestrictions
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String oakPath)
focal_class.return: Set<RestrictionDefinition>
focal_class.signature: Set<RestrictionDefinition> getSupportedRestrictions(@Nullable String oakPath)
focal_class.class_method_signature: PrincipalRestrictionProvider.createRestriction(@Nullable String oakPath, @NotNull String oakName, @NotNull Value value)
focal_class.full_signature: @NotNull @Override public Restriction createRestriction(@Nullable String oakPath, @NotNull String oakName, @NotNull Value value)
focal_class.identifier: createRestriction
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String oakPath, @NotNull String oakName, @NotNull Value value)
focal_class.return: Restriction
focal_class.signature: Restriction createRestriction(@Nullable String oakPath, @NotNull String oakName, @NotNull Value value)
focal_class.class_method_signature: PrincipalRestrictionProvider.createRestriction(@Nullable String oakPath, @NotNull String oakName, @NotNull Value... values)
focal_class.full_signature: @NotNull @Override public Restriction createRestriction(@Nullable String oakPath, @NotNull String oakName, @NotNull Value... values)
focal_class.identifier: createRestriction
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String oakPath, @NotNull String oakName, @NotNull Value... values)
focal_class.return: Restriction
focal_class.signature: Restriction createRestriction(@Nullable String oakPath, @NotNull String oakName, @NotNull Value... values)
focal_class.class_method_signature: PrincipalRestrictionProvider.readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
focal_class.full_signature: @NotNull @Override public Set<Restriction> readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
focal_class.identifier: readRestrictions
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String oakPath, @NotNull Tree aceTree)
focal_class.return: Set<Restriction>
focal_class.signature: Set<Restriction> readRestrictions(@Nullable String oakPath, @NotNull Tree aceTree)
focal_class.class_method_signature: PrincipalRestrictionProvider.writeRestrictions(String oakPath, Tree aceTree, Set<Restriction> restrictions)
focal_class.full_signature: @Override public void writeRestrictions(String oakPath, Tree aceTree, Set<Restriction> restrictions)
focal_class.identifier: writeRestrictions
focal_class.modifiers: @Override public
focal_class.parameters: (String oakPath, Tree aceTree, Set<Restriction> restrictions)
focal_class.return: void
focal_class.signature: void writeRestrictions(String oakPath, Tree aceTree, Set<Restriction> restrictions)
focal_class.class_method_signature: PrincipalRestrictionProvider.validateRestrictions(String oakPath, @NotNull Tree aceTree)
focal_class.full_signature: @Override public void validateRestrictions(String oakPath, @NotNull Tree aceTree)
focal_class.identifier: validateRestrictions
focal_class.modifiers: @Override public
focal_class.parameters: (String oakPath, @NotNull Tree aceTree)
focal_class.return: void
focal_class.signature: void validateRestrictions(String oakPath, @NotNull Tree aceTree)
focal_class.class_method_signature: PrincipalRestrictionProvider.getPattern(@Nullable String oakPath, @NotNull Tree tree)
focal_class.full_signature: @NotNull @Override public RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Tree tree)
focal_class.identifier: getPattern
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String oakPath, @NotNull Tree tree)
focal_class.return: RestrictionPattern
focal_class.signature: RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Tree tree)
focal_class.class_method_signature: PrincipalRestrictionProvider.getPattern(@Nullable String oakPath, @NotNull Set<Restriction> restrictions)
focal_class.full_signature: @NotNull @Override public RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Set<Restriction> restrictions)
focal_class.identifier: getPattern
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String oakPath, @NotNull Set<Restriction> restrictions)
focal_class.return: RestrictionPattern
focal_class.signature: RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Set<Restriction> restrictions)
focal_method.body: @NotNull
      @Override
      public RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Tree tree) {
          return base.getPattern(oakPath, tree);
      }
focal_method.class_method_signature: PrincipalRestrictionProvider.getPattern(@Nullable String oakPath, @NotNull Tree tree)
focal_method.full_signature: @NotNull @Override public RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Tree tree)
focal_method.identifier: getPattern
focal_method.invocations: getPattern
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: (@Nullable String oakPath, @NotNull Tree tree)
focal_method.return: RestrictionPattern
focal_method.signature: RestrictionPattern getPattern(@Nullable String oakPath, @NotNull Tree tree)