test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/ConfigurationUtilTest.java
test_class.identifier: ConfigurationUtilTest
test_case.body: @Test
      public void testGetDefaultConfiguration() {
          Configuration c = ConfigurationUtil.getDefaultConfiguration(ConfigurationParameters.EMPTY);
          AppConfigurationEntry[]  entries = c.getAppConfigurationEntry("any");
          assertEquals(1, entries.length);
          AppConfigurationEntry entry = entries[0];
          assertEquals("org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl", entry.getLoginModuleName());
          assertEquals(AppConfigurationEntry.LoginModuleControlFlag.REQUIRED, entry.getControlFlag());
      }
test_case.class_method_signature: ConfigurationUtilTest.testGetDefaultConfiguration()
test_case.full_signature: @Test public void testGetDefaultConfiguration()
test_case.identifier: testGetDefaultConfiguration
test_case.invocations: getDefaultConfiguration getAppConfigurationEntry assertEquals assertEquals getLoginModuleName assertEquals getControlFlag
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetDefaultConfiguration()
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authentication/ConfigurationUtil.java
focal_class.identifier: ConfigurationUtil
focal_class.class_method_signature: ConfigurationUtil.ConfigurationUtil()
focal_class.full_signature: private  ConfigurationUtil()
focal_class.identifier: ConfigurationUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ConfigurationUtil()
focal_class.class_method_signature: ConfigurationUtil.getDefaultConfiguration(final ConfigurationParameters loginConfiguration)
focal_class.full_signature: public static Configuration getDefaultConfiguration(final ConfigurationParameters loginConfiguration)
focal_class.identifier: getDefaultConfiguration
focal_class.modifiers: public static
focal_class.parameters: (final ConfigurationParameters loginConfiguration)
focal_class.return: Configuration
focal_class.signature: Configuration getDefaultConfiguration(final ConfigurationParameters loginConfiguration)
focal_class.class_method_signature: ConfigurationUtil.getJackrabbit2Configuration(final ConfigurationParameters loginConfiguration)
focal_class.full_signature: public static Configuration getJackrabbit2Configuration(final ConfigurationParameters loginConfiguration)
focal_class.identifier: getJackrabbit2Configuration
focal_class.modifiers: public static
focal_class.parameters: (final ConfigurationParameters loginConfiguration)
focal_class.return: Configuration
focal_class.signature: Configuration getJackrabbit2Configuration(final ConfigurationParameters loginConfiguration)
focal_method.body: public static Configuration getDefaultConfiguration(final ConfigurationParameters loginConfiguration) {
          return new Configuration() {
              @Override
              public AppConfigurationEntry[] getAppConfigurationEntry(String applicationName) {
                  Map<String, ?> options = loginConfiguration.getConfigValue(applicationName, Collections.<String, Object>emptyMap());
                  return new AppConfigurationEntry[]{new DefaultEntry(options)};
              }
          };
      }
focal_method.class_method_signature: ConfigurationUtil.getDefaultConfiguration(final ConfigurationParameters loginConfiguration)
focal_method.full_signature: public static Configuration getDefaultConfiguration(final ConfigurationParameters loginConfiguration)
focal_method.identifier: getDefaultConfiguration
focal_method.invocations: getConfigValue emptyMap
focal_method.modifiers: public static
focal_method.parameters: (final ConfigurationParameters loginConfiguration)
focal_method.return: Configuration
focal_method.signature: Configuration getDefaultConfiguration(final ConfigurationParameters loginConfiguration)