test_class.declarator: authConfiguration = new AuthenticationConfigurationImpl()
test_class.modifier: private final
test_class.original_string: private final AuthenticationConfigurationImpl authConfiguration = new AuthenticationConfigurationImpl();
test_class.type: AuthenticationConfigurationImpl
test_class.var_name: authConfiguration
test_class.declarator: repo = mock(ContentRepository.class)
test_class.modifier: private final
test_class.original_string: private final ContentRepository repo = mock(ContentRepository.class);
test_class.type: ContentRepository
test_class.var_name: repo
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImplTest.java
test_class.identifier: AuthenticationConfigurationImplTest
test_case.body: @Test
      public void testGetLoginCtxProviderWithoutWhiteboard() throws Exception {
          SecurityProvider sp = mock(SecurityProvider.class);
          authConfiguration.setSecurityProvider(sp);
  
          LoginContextProvider lcp = authConfiguration.getLoginContextProvider(repo);
          assertTrue(lcp instanceof LoginContextProviderImpl);
  
          Field f = LoginContextProviderImpl.class.getDeclaredField("whiteboard");
          f.setAccessible(true);
          assertNull(f.get(lcp));
      }
test_case.class_method_signature: AuthenticationConfigurationImplTest.testGetLoginCtxProviderWithoutWhiteboard()
test_case.full_signature: @Test public void testGetLoginCtxProviderWithoutWhiteboard()
test_case.identifier: testGetLoginCtxProviderWithoutWhiteboard
test_case.invocations: mock setSecurityProvider getLoginContextProvider assertTrue getDeclaredField setAccessible assertNull get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetLoginCtxProviderWithoutWhiteboard()
focal_class.declarator: log = LoggerFactory.getLogger(AuthenticationConfigurationImpl.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(AuthenticationConfigurationImpl.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: lmMonitor = LoginModuleMonitor.NOOP
focal_class.modifier: private
focal_class.original_string: private LoginModuleMonitor lmMonitor = LoginModuleMonitor.NOOP;
focal_class.type: LoginModuleMonitor
focal_class.var_name: lmMonitor
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authentication/AuthenticationConfigurationImpl.java
focal_class.identifier: AuthenticationConfigurationImpl
focal_class.interfaces: implements AuthenticationConfiguration, LoginModuleStatsCollector
focal_class.class_method_signature: AuthenticationConfigurationImpl.AuthenticationConfigurationImpl()
focal_class.full_signature: @SuppressWarnings("UnusedDeclaration") public  AuthenticationConfigurationImpl()
focal_class.identifier: AuthenticationConfigurationImpl
focal_class.modifiers: @SuppressWarnings("UnusedDeclaration") public
focal_class.parameters: ()
focal_class.signature:  AuthenticationConfigurationImpl()
focal_class.class_method_signature: AuthenticationConfigurationImpl.activate(Configuration configuration, Map<String, Object> properties)
focal_class.full_signature: @SuppressWarnings("UnusedDeclaration") @Activate // reference to @Configuration class needed for correct DS xml generation private void activate(Configuration configuration, Map<String, Object> properties)
focal_class.identifier: activate
focal_class.modifiers: @SuppressWarnings("UnusedDeclaration") @Activate // reference to @Configuration class needed for correct DS xml generation private
focal_class.parameters: (Configuration configuration, Map<String, Object> properties)
focal_class.return: void
focal_class.signature: void activate(Configuration configuration, Map<String, Object> properties)
focal_class.class_method_signature: AuthenticationConfigurationImpl.AuthenticationConfigurationImpl(SecurityProvider securityProvider)
focal_class.full_signature: public  AuthenticationConfigurationImpl(SecurityProvider securityProvider)
focal_class.identifier: AuthenticationConfigurationImpl
focal_class.modifiers: public
focal_class.parameters: (SecurityProvider securityProvider)
focal_class.signature:  AuthenticationConfigurationImpl(SecurityProvider securityProvider)
focal_class.class_method_signature: AuthenticationConfigurationImpl.getName()
focal_class.full_signature: @NotNull @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: AuthenticationConfigurationImpl.getLoginContextProvider(@NotNull ContentRepository contentRepository)
focal_class.full_signature: @NotNull @Override public LoginContextProvider getLoginContextProvider(@NotNull ContentRepository contentRepository)
focal_class.identifier: getLoginContextProvider
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull ContentRepository contentRepository)
focal_class.return: LoginContextProvider
focal_class.signature: LoginContextProvider getLoginContextProvider(@NotNull ContentRepository contentRepository)
focal_class.class_method_signature: AuthenticationConfigurationImpl.setLoginModuleMonitor(@NotNull LoginModuleMonitor lmMonitor)
focal_class.full_signature: @Override public void setLoginModuleMonitor(@NotNull LoginModuleMonitor lmMonitor)
focal_class.identifier: setLoginModuleMonitor
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull LoginModuleMonitor lmMonitor)
focal_class.return: void
focal_class.signature: void setLoginModuleMonitor(@NotNull LoginModuleMonitor lmMonitor)
focal_class.superclass: extends ConfigurationBase
focal_method.body: @NotNull
      @Override
      public LoginContextProvider getLoginContextProvider(@NotNull ContentRepository contentRepository) {
          String appName = getParameters().getConfigValue(PARAM_APP_NAME, DEFAULT_APP_NAME);
          SecurityProvider provider = getSecurityProvider();
          Whiteboard whiteboard = null;
          if (provider instanceof WhiteboardAware) {
              whiteboard = ((WhiteboardAware) provider).getWhiteboard();
          } else {
              log.warn("Unable to obtain whiteboard from SecurityProvider");
          }
          return new LoginContextProviderImpl(appName, getParameters(), contentRepository, provider, whiteboard, lmMonitor);
      }
focal_method.class_method_signature: AuthenticationConfigurationImpl.getLoginContextProvider(@NotNull ContentRepository contentRepository)
focal_method.full_signature: @NotNull @Override public LoginContextProvider getLoginContextProvider(@NotNull ContentRepository contentRepository)
focal_method.identifier: getLoginContextProvider
focal_method.invocations: getConfigValue getParameters getSecurityProvider getWhiteboard warn getParameters
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: (@NotNull ContentRepository contentRepository)
focal_method.return: LoginContextProvider
focal_method.signature: LoginContextProvider getLoginContextProvider(@NotNull ContentRepository contentRepository)