test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/token/CompositeTokenConfigurationTest.java
test_class.identifier: CompositeTokenConfigurationTest
test_class.superclass: extends AbstractCompositeConfigurationTest<TokenConfiguration>
test_case.body: @Test
      public void testGetTokenProvider() {
          CompositeTokenConfiguration ctc = (CompositeTokenConfiguration) compositeConfiguration;
  
          Root root = Mockito.mock(Root.class);
  
          TokenProvider tp = ctc.getTokenProvider(root);
          assertNotNull(tp);
          assertFalse(tp instanceof CompositeTokenProvider);
  
          TokenConfiguration tc = createTokenConfiguration();
          setDefault(tc);
          tp = ctc.getTokenProvider(root);
          assertNotNull(tp);
          assertFalse(tp instanceof CompositeTokenProvider);
  
          addConfiguration(tc);
          tp = ctc.getTokenProvider(root);
          assertNotNull(tp);
          assertFalse(tp instanceof CompositeTokenProvider);
  
          addConfiguration(createTokenConfiguration());
          tp = ctc.getTokenProvider(root);
          assertNotNull(tp);
          assertTrue(tp instanceof CompositeTokenProvider);
      }
test_case.class_method_signature: CompositeTokenConfigurationTest.testGetTokenProvider()
test_case.full_signature: @Test public void testGetTokenProvider()
test_case.identifier: testGetTokenProvider
test_case.invocations: mock getTokenProvider assertNotNull assertFalse createTokenConfiguration setDefault getTokenProvider assertNotNull assertFalse addConfiguration getTokenProvider assertNotNull assertFalse addConfiguration createTokenConfiguration getTokenProvider assertNotNull assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTokenProvider()
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/token/CompositeTokenConfiguration.java
focal_class.identifier: CompositeTokenConfiguration
focal_class.interfaces: implements TokenConfiguration
focal_class.class_method_signature: CompositeTokenConfiguration.CompositeTokenConfiguration()
focal_class.full_signature: public  CompositeTokenConfiguration()
focal_class.identifier: CompositeTokenConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  CompositeTokenConfiguration()
focal_class.class_method_signature: CompositeTokenConfiguration.CompositeTokenConfiguration(@NotNull SecurityProvider securityProvider)
focal_class.full_signature: public  CompositeTokenConfiguration(@NotNull SecurityProvider securityProvider)
focal_class.identifier: CompositeTokenConfiguration
focal_class.modifiers: public
focal_class.parameters: (@NotNull SecurityProvider securityProvider)
focal_class.signature:  CompositeTokenConfiguration(@NotNull SecurityProvider securityProvider)
focal_class.class_method_signature: CompositeTokenConfiguration.getTokenProvider(@NotNull final Root root)
focal_class.full_signature: @NotNull @Override public TokenProvider getTokenProvider(@NotNull final Root root)
focal_class.identifier: getTokenProvider
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull final Root root)
focal_class.return: TokenProvider
focal_class.signature: TokenProvider getTokenProvider(@NotNull final Root root)
focal_class.superclass: extends CompositeConfiguration<TokenConfiguration>
focal_method.body: @NotNull
      @Override
      public TokenProvider getTokenProvider(@NotNull final Root root) {
          List<TokenProvider> providers = Lists.transform(getConfigurations(), new Function<TokenConfiguration, TokenProvider>() {
              @Override
              public TokenProvider apply(TokenConfiguration tokenConfiguration) {
                  return tokenConfiguration.getTokenProvider(root);
              }
          });
          return CompositeTokenProvider.newInstance(providers);
      }
focal_method.class_method_signature: CompositeTokenConfiguration.getTokenProvider(@NotNull final Root root)
focal_method.full_signature: @NotNull @Override public TokenProvider getTokenProvider(@NotNull final Root root)
focal_method.identifier: getTokenProvider
focal_method.invocations: transform getConfigurations getTokenProvider newInstance
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: (@NotNull final Root root)
focal_method.return: TokenProvider
focal_method.signature: TokenProvider getTokenProvider(@NotNull final Root root)