@ConditionalOnClass(value=org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.class) @Configuration @Import(value={VerifyCodeConfiguration.class,PermitedRequestConfiguration.class,PreAuthConfiguration.class,BasicAuthConfiguration.class,FormAuthConfiguration.class,CsrfConfiguration.class,MethodSecurityConfiguration.class,FeignTokenConfiguration.class,ZuulTokenConfiguration.class,SwaggerConfiguration.class}) @Order(value=2147483641) public class WebApplicationSecurityAutoConfiguration extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
see: SecurityAutoConfiguration
.
see: WebSecurity
.
see: DefaultWebSecurityExpressionHandler
.
see: DefaultMethodSecurityExpressionHandler
.
see: PermissionEvaluator
.
Modifier and Type | Field and Description |
---|---|
static int |
ORDER_AFTER_MANAGEMENT_BEFORE_FALLBACK
between LOWEST_PRECEDENCE - 5 and LOWEST_PRECEDENCE - 10.
|
Map<String,List<String>> |
permitedRequests |
Constructor and Description |
---|
WebApplicationSecurityAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
protected void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
init(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
List<SecurityConfigurer> |
sortedSecurityConfigurers() |
authenticationManager, authenticationManagerBean, configure, getApplicationContext, getHttp, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBean
public static final int ORDER_AFTER_MANAGEMENT_BEFORE_FALLBACK
public WebApplicationSecurityAutoConfiguration()
protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) throws Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
configure
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
public void init(org.springframework.security.config.annotation.web.builders.WebSecurity web) throws Exception
init
in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>
init
in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
Exception
public List<SecurityConfigurer> sortedSecurityConfigurers()
Copyright © 2017. All rights reserved.