Class SecurityScopeDataInitializer

    • Constructor Detail

      • SecurityScopeDataInitializer

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

      • 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)