Package com.broadleafcommerce.auth.data
Class UserDataInitializer
java.lang.Object
com.broadleafcommerce.auth.data.UserDataInitializer
- All Implemented Interfaces:
DataInitializer
- Direct Known Subclasses:
DefaultMasterGlobalAdminUserDataInitializer
@Deprecated(forRemoval=true,
since="1.9.0")
public class UserDataInitializer
extends Object
implements DataInitializer
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 users will be defined here.
Note that we define admin user records here despite the fact that the admin user service seed data will send its data to this service through persistence events. This is because the admin user service is unable to initialize password information and thus we must create base records that contain this information first.
- Author:
- Nick Crum (ncrum)
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Deprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version.static final String
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionUserDataInitializer
(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, boolean shouldCreateMarketplaceUsers) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.protected void
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.Initialize seed data for the application.void
setDefaultPassword
(String defaultPassword) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
AUTH_SERVER_ID_ADMIN
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
AUTH_SERVER_ID_HEATCLINIC
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
AUTH_SERVER_ID_AAA
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
AUTH_SERVER_ID_MEGASAUCE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Constructor Details
-
UserDataInitializer
public UserDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, UserRepository<JpaUser> userRepository, org.springframework.security.crypto.password.PasswordEncoder passwordEncoder, boolean shouldCreateMarketplaceUsers) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
setDefaultPassword
Deprecated, for removal: This API element is subject to removal in a future version. -
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
-
createAdminUsersIfMissing
protected void createAdminUsersIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createCustomersIfMissing
protected void createCustomersIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createReadOnlyGlobalAdminUserIfMissing
protected void createReadOnlyGlobalAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createMasterGlobalAdminUserIfMissing
protected void createMasterGlobalAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createGlobalAdminUserIfMissing
protected void createGlobalAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createAAAHotSaucesAdminUserIfMissing
protected void createAAAHotSaucesAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createHeatClinicAdminUserIfMissing
protected void createHeatClinicAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createMegaSauceMarketplaceAdminUserIfMissing
protected void createMegaSauceMarketplaceAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createSecondMasterGlobalAdminUserIfMissing
protected void createSecondMasterGlobalAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createMarketplaceOperatorAdminUserIfMissing
protected void createMarketplaceOperatorAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createWildBillAdminAdminUserIfMissing
protected void createWildBillAdminAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createWildBillMerchandiserAdminUserIfMissing
protected void createWildBillMerchandiserAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createJudgeJuryAdminAdminUserIfMissing
protected void createJudgeJuryAdminAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createJudgeJuryMerchandiserAdminUserIfMissing
protected void createJudgeJuryMerchandiserAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createDavesGourmetAdminAdminUserIfMissing
protected void createDavesGourmetAdminAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createDavesGourmetMerchandiserAdminUserIfMissing
protected void createDavesGourmetMerchandiserAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createSpiceExchangeAdminAdminUserIfMissing
protected void createSpiceExchangeAdminAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createSpiceExchangeMerchandiserAdminUserIfMissing
protected void createSpiceExchangeMerchandiserAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createWildBillAndJudgeJuryAdminAdminUserIfMissing
protected void createWildBillAndJudgeJuryAdminAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createWildBillAndJudgeJuryMerchandiserAdminUserIfMissing
protected void createWildBillAndJudgeJuryMerchandiserAdminUserIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createHeatClinicCustomerIfMissing
protected void createHeatClinicCustomerIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createAAAHotSaucesCustomerIfMissing
protected void createAAAHotSaucesCustomerIfMissing()Deprecated, for removal: This API element is subject to removal in a future version. -
createMegaSauceMarketplaceCustomerIfMissing
protected void createMegaSauceMarketplaceCustomerIfMissing()Deprecated, for removal: This API element is subject to removal in a future version.
-