Class AuthorizationServerDataInitializerAutoConfiguration.UserConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.data.autoconfigure.AuthorizationServerDataInitializerAutoConfiguration.UserConfiguration
-
- Enclosing class:
- AuthorizationServerDataInitializerAutoConfiguration
@Configuration @ConditionalOnProperty(value="broadleaf.auth.data.load.default-users", havingValue="true") public static class AuthorizationServerDataInitializerAutoConfiguration.UserConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description UserConfiguration(AuthorizationServerDataInitializerAutoConfiguration.RoleConfiguration roleConfiguration, AuthorizationServerDataInitializerAutoConfiguration.AuthorizationServerConfiguration serverConfiguration, com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, boolean shouldCreateMarketplaceUsers)
Initializes the seed data for the users.
-
-
-
Constructor Detail
-
UserConfiguration
public UserConfiguration(AuthorizationServerDataInitializerAutoConfiguration.RoleConfiguration roleConfiguration, AuthorizationServerDataInitializerAutoConfiguration.AuthorizationServerConfiguration serverConfiguration, com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, @Value("${broadleaf.auth.data.load.default-marketplace-users:false}") boolean shouldCreateMarketplaceUsers)
Initializes the seed data for the users.- Parameters:
roleConfiguration
- depends on the initialization of the RoleConfigurationtypeFactory
- the type factoryuserRepository
- the repository for persisting users
-
-