@EnableWebSecurity
@EnableGlobalMethodSecurity(securedEnabled=true,
prePostEnabled=true)
public class DefaultSecurityConfigurer
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Constructor and Description |
|---|
DefaultSecurityConfigurer() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth) |
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
void |
configure(org.springframework.security.config.annotation.web.builders.WebSecurity web) |
org.springframework.security.web.firewall.HttpFirewall |
httpFirewall() |
authenticationManager, authenticationManagerBean, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBeanpublic void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth)
throws java.lang.Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.Exceptionpublic void configure(org.springframework.security.config.annotation.web.builders.WebSecurity web)
throws java.lang.Exception
configure in interface org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.Exceptionprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws java.lang.Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterjava.lang.Exception@Bean public org.springframework.security.web.firewall.HttpFirewall httpFirewall()