@Override public JPAStoreConfigurationBuilder jpa() { return this.identityStoresConfigurationBuilder.jpa(); }
@Override public JPAStoreConfigurationBuilder jpa() { return this.identityStoresConfigurationBuilder.jpa(); }
.named("oauth") .stores() .jpa().mappedEntity( AccountTypeEntity.class, RoleTypeEntity.class,
.named("default") .stores() .jpa() .mappedEntity( AccountTypeEntity.class,
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."); } } }