Class SecurityScopeDataInitializer

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

public class SecurityScopeDataInitializer extends Object implements DataInitializer
Author:
Nick Crum (ncrum)
  • Constructor Details

    • SecurityScopeDataInitializer

      public SecurityScopeDataInitializer(com.broadleafcommerce.common.extension.TypeFactory typeFactory, ScopeRepository scopeRepository)
  • Method Details

    • initialize

      @Transactional public void initialize()
      Description copied from interface: DataInitializer
      Initialize seed data for the application.
      Specified by:
      initialize in interface DataInitializer
    • createOpenSecurityScopesIfMissing

      protected void createOpenSecurityScopesIfMissing()
    • createClosedSecurityScopesIfMissing

      protected void createClosedSecurityScopesIfMissing()
    • createCustomerUserSecurityScopeIfMissing

      protected void createCustomerUserSecurityScopeIfMissing()
    • createSecurityScopeIfMissing

      protected void createSecurityScopeIfMissing(String id, String name, boolean isOpen)