Package com.broadleafcommerce.auth.data
Class DefaultMasterGlobalAdminUserDataInitializer
java.lang.Object
com.broadleafcommerce.auth.data.UserDataInitializer
com.broadleafcommerce.auth.data.DefaultMasterGlobalAdminUserDataInitializer
- All Implemented Interfaces:
DataInitializer
@Deprecated(forRemoval=true,
since="1.9.0")
public class DefaultMasterGlobalAdminUserDataInitializer
extends UserDataInitializer
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated in favor of liquibase insert pattern (see
auth.starter.required.data.changelog.xml)
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
-
Field Summary
Fields inherited from class com.broadleafcommerce.auth.data.UserDataInitializer
AUTH_SERVER_ID_AAA, AUTH_SERVER_ID_ADMIN, AUTH_SERVER_ID_HEATCLINIC, AUTH_SERVER_ID_MEGASAUCE
-
Constructor Summary
ConstructorDescriptionDefaultMasterGlobalAdminUserDataInitializer
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated, for removal: This API element is subject to removal in a future version.Initialize seed data for the application.Methods inherited from class com.broadleafcommerce.auth.data.UserDataInitializer
createAAAHotSaucesAdminUserIfMissing, createAAAHotSaucesCustomerIfMissing, createAdminUsersIfMissing, createCustomersIfMissing, createDavesGourmetAdminAdminUserIfMissing, createDavesGourmetMerchandiserAdminUserIfMissing, createGlobalAdminUserIfMissing, createHeatClinicAdminUserIfMissing, createHeatClinicCustomerIfMissing, createJudgeJuryAdminAdminUserIfMissing, createJudgeJuryMerchandiserAdminUserIfMissing, createMarketplaceOperatorAdminUserIfMissing, createMasterGlobalAdminUserIfMissing, createMegaSauceMarketplaceAdminUserIfMissing, createMegaSauceMarketplaceCustomerIfMissing, createReadOnlyGlobalAdminUserIfMissing, createSecondMasterGlobalAdminUserIfMissing, createSpiceExchangeAdminAdminUserIfMissing, createSpiceExchangeMerchandiserAdminUserIfMissing, createWildBillAdminAdminUserIfMissing, createWildBillAndJudgeJuryAdminAdminUserIfMissing, createWildBillAndJudgeJuryMerchandiserAdminUserIfMissing, createWildBillMerchandiserAdminUserIfMissing, setDefaultPassword
-
Constructor Details
-
DefaultMasterGlobalAdminUserDataInitializer
public DefaultMasterGlobalAdminUserDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
initialize
@Transactional public void initialize()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:DataInitializer
Initialize seed data for the application.- Specified by:
initialize
in interfaceDataInitializer
- Overrides:
initialize
in classUserDataInitializer
-