Class AllowStaticResourcesSecurityConfiguration

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

@ModuleConfiguration("SpringSecurityModule") public class AllowStaticResourcesSecurityConfiguration 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

    • AllowStaticResourcesSecurityConfiguration

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

    • staticResourcesSecurityFilterChain

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