public class SecurityScopeDataInitializer extends Object implements DataInitializer
Constructor and Description |
---|
SecurityScopeDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory,
ScopeRepository scopeRepository) |
Modifier and Type | Method and Description |
---|---|
protected void |
createClosedSecurityScopesIfMissing() |
protected void |
createCustomerUserSecurityScopeIfMissing() |
protected void |
createOpenSecurityScopesIfMissing() |
protected void |
createSecurityScopeIfMissing(String id,
String name,
boolean isOpen) |
void |
initialize()
Initialize seed data for the application.
|
public SecurityScopeDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, ScopeRepository scopeRepository)
@Transactional public void initialize()
DataInitializer
initialize
in interface DataInitializer
protected void createOpenSecurityScopesIfMissing()
protected void createClosedSecurityScopesIfMissing()
protected void createCustomerUserSecurityScopeIfMissing()
Copyright © 2021. All rights reserved.