Package com.broadleafcommerce.auth.data
Class DefaultMasterGlobalAdminUserDataInitializer
- java.lang.Object
-
- com.broadleafcommerce.auth.data.UserDataInitializer
-
- com.broadleafcommerce.auth.data.DefaultMasterGlobalAdminUserDataInitializer
-
- All Implemented Interfaces:
DataInitializer
public class DefaultMasterGlobalAdminUserDataInitializer extends UserDataInitializer
The seed-data for the default master global admin user. This user is created if the property "broadleaf.auth.data.load.default-users" is set to "false".- Author:
- Dima Myroniuk (dmyroniuk)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.broadleafcommerce.auth.data.UserDataInitializer
UserDataInitializer.UserIds
-
-
Constructor Summary
Constructors Constructor Description DefaultMasterGlobalAdminUserDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize()
Initialize seed data for the application.-
Methods inherited from class com.broadleafcommerce.auth.data.UserDataInitializer
createAAAHotSaucesAdminUserIfMissing, createAAAHotSaucesCustomerIfMissing, createAdminUsersIfMissing, createCustomersIfMissing, createGlobalAdminUserIfMissing, createHeatClinicAdminUserIfMissing, createHeatClinicCustomerIfMissing, createJudgeJuryAdminAdminUserIfMissing, createJudgeJuryMerchandiserAdminUserIfMissing, createMarketplaceOperatorAdminUserIfMissing, createMasterGlobalAdminUserIfMissing, createMegaSauceMarketplaceAdminUserIfMissing, createMegaSauceMarketplaceCustomerIfMissing, createReadOnlyGlobalAdminUserIfMissing, createSecondMasterGlobalAdminUserIfMissing, createWildBillAdminAdminUserIfMissing, createWildBillAndJudgeJuryAdminAdminUserIfMissing, createWildBillAndJudgeJuryMerchandiserAdminUserIfMissing, createWildBillMerchandiserAdminUserIfMissing, setDefaultPassword
-
-
-
-
Constructor Detail
-
DefaultMasterGlobalAdminUserDataInitializer
public DefaultMasterGlobalAdminUserDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
-
-
Method Detail
-
initialize
@Transactional public void initialize()
Description copied from interface:DataInitializer
Initialize seed data for the application.- Specified by:
initialize
in interfaceDataInitializer
- Overrides:
initialize
in classUserDataInitializer
-
-