Class AuthorizationServerDataInitializerAutoConfiguration.DefaultMasterGlobalAdminUserConfiguration

  • Enclosing class:
    AuthorizationServerDataInitializerAutoConfiguration

    @Configuration
    @ConditionalOnProperty(value="broadleaf.auth.data.load.default-master-global-admin-user",
                           havingValue="true")
    public static class AuthorizationServerDataInitializerAutoConfiguration.DefaultMasterGlobalAdminUserConfiguration
    extends Object
    • Constructor Detail

      • DefaultMasterGlobalAdminUserConfiguration

        public DefaultMasterGlobalAdminUserConfiguration​(com.broadleafcommerce.common.extension.TypeFactory typeFactory,
                                                         UserRepository<JpaUser> userRepository,
                                                         org.springframework.security.crypto.password.PasswordEncoder passwordEncoder)
        Initializes the seed data for the default master global admin user.
        Parameters:
        typeFactory - the type factory
        userRepository - the repository for persisting users
        passwordEncoder - the service for encoding passwords