Class AuthorizationServerDataInitializerAutoConfiguration.DefaultMasterGlobalAdminUserConfiguration
- java.lang.Object
-
- com.broadleafcommerce.auth.data.autoconfigure.AuthorizationServerDataInitializerAutoConfiguration.DefaultMasterGlobalAdminUserConfiguration
-
- Enclosing class:
- AuthorizationServerDataInitializerAutoConfiguration
@Configuration @ConditionalOnProperty(value="broadleaf.auth.data.load.default-master-global-admin-user", havingValue="true") public static class AuthorizationServerDataInitializerAutoConfiguration.DefaultMasterGlobalAdminUserConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description DefaultMasterGlobalAdminUserConfiguration(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
Initializes the seed data for the default master global admin user.
-
-
-
Constructor Detail
-
DefaultMasterGlobalAdminUserConfiguration
public DefaultMasterGlobalAdminUserConfiguration(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
Initializes the seed data for the default master global admin user.- Parameters:
typeFactory
- the type factoryuserRepository
- the repository for persisting userspasswordEncoder
- the service for encoding passwords
-
-