test_class.declarator: sp = new InternalSecurityProvider()
test_class.modifier: private final
test_class.original_string: private final SecurityProvider sp = new InternalSecurityProvider();
test_class.type: SecurityProvider
test_class.var_name: sp
test_class.declarator: params = ConfigurationParameters.of("key", "value")
test_class.modifier: private final
test_class.original_string: private final ConfigurationParameters params = ConfigurationParameters.of("key", "value");
test_class.type: ConfigurationParameters
test_class.var_name: params
test_class.declarator: rootProvider = Mockito.mock(RootProvider.class)
test_class.modifier: private final
test_class.original_string: private final RootProvider rootProvider = Mockito.mock(RootProvider.class);
test_class.type: RootProvider
test_class.var_name: rootProvider
test_class.declarator: treeProvider = Mockito.mock(TreeProvider.class)
test_class.modifier: private final
test_class.original_string: private final TreeProvider treeProvider = Mockito.mock(TreeProvider.class);
test_class.type: TreeProvider
test_class.var_name: treeProvider
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/internal/ConfigurationInitializerTest.java
test_class.identifier: ConfigurationInitializerTest
test_case.body: @Test
      public void testInitCompositeConfiguration() {
          TestComposite<SecurityConfiguration.Default> composite = new TestComposite<SecurityConfiguration.Default>();
          composite.addConfiguration(new SecurityConfiguration.Default());
          composite.addConfiguration(new SecurityConfiguration.Default());
  
          ConfigurationInitializer.initializeConfigurations(composite, sp, params, rootProvider, treeProvider);
  
          // verify securityprovider
          assertSame(sp, composite.getSecurityProvider());
  
          // verify params
          for (SecurityConfiguration.Default sc : composite.getConfigurations()) {
              assertFalse(sc.getParameters().containsKey("key"));
          }
      }
test_case.class_method_signature: ConfigurationInitializerTest.testInitCompositeConfiguration()
test_case.full_signature: @Test public void testInitCompositeConfiguration()
test_case.identifier: testInitCompositeConfiguration
test_case.invocations: addConfiguration addConfiguration initializeConfigurations assertSame getSecurityProvider getConfigurations assertFalse containsKey getParameters
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInitCompositeConfiguration()
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/internal/ConfigurationInitializer.java
focal_class.identifier: ConfigurationInitializer
focal_class.class_method_signature: ConfigurationInitializer.ConfigurationInitializer()
focal_class.full_signature: private  ConfigurationInitializer()
focal_class.identifier: ConfigurationInitializer
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConfigurationInitializer()
focal_class.class_method_signature: ConfigurationInitializer.initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.full_signature: @NotNull static T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.identifier: initializeConfiguration
focal_class.modifiers: @NotNull static
focal_class.parameters: (@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.return: T
focal_class.signature: T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.class_method_signature: ConfigurationInitializer.initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.full_signature: @NotNull static T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.identifier: initializeConfiguration
focal_class.modifiers: @NotNull static
focal_class.parameters: (@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.return: T
focal_class.signature: T initializeConfiguration(@NotNull T configuration, @NotNull SecurityProvider securityProvider, @NotNull ConfigurationParameters parameters, @NotNull RootProvider rootProvider, @NotNull TreeProvider treeProvider)
focal_class.class_method_signature: ConfigurationInitializer.initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_class.full_signature: static void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_class.identifier: initializeConfigurations
focal_class.modifiers: static
focal_class.parameters: (@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_class.return: void
focal_class.signature: void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_method.body: static <T extends SecurityConfiguration> void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider) {
          configuration.setSecurityProvider(securityProvider);
          configuration.setRootProvider(rootProvider);
          configuration.setTreeProvider(treeProvider);
  
          List<T> configs = configuration.getConfigurations();
          for (T config : configs) {
              initializeConfiguration(config, securityProvider, parameters, rootProvider, treeProvider);
          }
      }
focal_method.class_method_signature: ConfigurationInitializer.initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_method.full_signature: static void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_method.identifier: initializeConfigurations
focal_method.invocations: setSecurityProvider setRootProvider setTreeProvider getConfigurations initializeConfiguration
focal_method.modifiers: static
focal_method.parameters: (@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)
focal_method.return: void
focal_method.signature: void initializeConfigurations(@NotNull CompositeConfiguration<T> configuration, @NotNull SecurityProvider securityProvider,
                                           @NotNull ConfigurationParameters parameters,
                                           @NotNull RootProvider rootProvider,
                                           @NotNull TreeProvider treeProvider)