Class SecurityScopeDataInitializer

java.lang.Object
com.broadleafcommerce.auth.data.SecurityScopeDataInitializer
All Implemented Interfaces:
DataInitializer

@Deprecated(forRemoval=true, since="1.9.0") public class SecurityScopeDataInitializer 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)
Author:
Nick Crum (ncrum)
  • Constructor Details

    • SecurityScopeDataInitializer

      public SecurityScopeDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, ScopeRepository scopeRepository)
      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 interface DataInitializer
    • createOpenSecurityScopesIfMissing

      protected void createOpenSecurityScopesIfMissing()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createClosedSecurityScopesIfMissing

      protected void createClosedSecurityScopesIfMissing()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createCustomerUserSecurityScopeIfMissing

      protected void createCustomerUserSecurityScopeIfMissing()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSecurityScopeIfMissing

      protected void createSecurityScopeIfMissing(String id, String name, boolean isOpen)
      Deprecated, for removal: This API element is subject to removal in a future version.