private void configureDefaults(IdentityConfigurationBuilder builder) { if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("No configuration provided by the application. Configuring defaults."); } if (this.entityManagerProvider.hasMappedEntities()) { builder .named(DEFAULT_CONFIGURATION_NAME) .stores() .jpa() .supportAllFeatures(); if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Auto configuring JPA Identity Store."); } } else { builder .named(DEFAULT_CONFIGURATION_NAME) .stores() .file() .supportAllFeatures(); if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Auto configuring File Identity Store."); } } }
private void configureDefaults(IdentityConfigurationBuilder builder) { if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("No configuration provided by the application. Configuring defaults."); } if (this.entityManagerProvider.hasMappedEntities()) { builder .named(DEFAULT_CONFIGURATION_NAME) .stores() .jpa() .supportAllFeatures(); if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Auto configuring JPA Identity Store."); } } else { builder .named(DEFAULT_CONFIGURATION_NAME) .stores() .file() .supportAllFeatures(); if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Auto configuring File Identity Store."); } } }
private void configureDefaults(IdentityConfigurationBuilder builder) { if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("No configuration provided by the application. Configuring defaults."); } if (this.entityManagerProvider.hasMappedEntities()) { builder .named(DEFAULT_CONFIGURATION_NAME) .stores() .jpa() .supportAllFeatures(); if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Auto configuring JPA Identity Store."); } } else { builder .named(DEFAULT_CONFIGURATION_NAME) .stores() .file() .supportAllFeatures(); if (ROOT_LOGGER.isDebugEnabled()) { ROOT_LOGGER.debugf("Auto configuring File Identity Store."); } } }