@Configuration
@EnableWebSecurity
public class WebSecurityConfig
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
| Constructor and Description |
|---|
WebSecurityConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
org.springframework.web.servlet.config.annotation.WebMvcConfigurer |
corsConfigurer() |
org.springframework.boot.web.servlet.FilterRegistrationBean |
corsFilter() |
org.springframework.security.authentication.jaas.JaasAuthenticationProvider |
jaasAuthProvider() |
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBeanprotected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterException@Bean public org.springframework.security.authentication.jaas.JaasAuthenticationProvider jaasAuthProvider()
@Bean public org.springframework.web.servlet.config.annotation.WebMvcConfigurer corsConfigurer()
@Bean public org.springframework.boot.web.servlet.FilterRegistrationBean corsFilter()
Copyright © 2019. All rights reserved.