Class AllowWebjarsSecurityConfiguration

java.lang.Object
com.foreach.across.modules.adminweb.extensions.AllowWebjarsSecurityConfiguration

@ModuleConfiguration("SpringSecurityModule") public class AllowWebjarsSecurityConfiguration extends Object
AdminWeb requires the static resources to be available, so it permits all of them by default. Registered with a global 0 order so it would be before all default security configuration of regular modules.
  • Constructor Details

    • AllowWebjarsSecurityConfiguration

      public AllowWebjarsSecurityConfiguration(com.foreach.across.core.context.registry.AcrossContextBeanRegistry beanRegistry)
  • Method Details

    • webjarsSecurityFilterChain

      @Order(0) @Bean public org.springframework.security.web.SecurityFilterChain webjarsSecurityFilterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Throws:
      Exception