@Configuration
@EnableWebSecurity
@EnableGlobalMethodSecurity(prePostEnabled=true)
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.cors.CorsConfigurationSource |
corsConfigurationSource() |
de.adorsys.sts.tokenauth.BearerToken |
getBearerToken(javax.servlet.http.HttpServletRequest request,
de.adorsys.sts.tokenauth.BearerTokenValidator bearerTokenValidator) |
Principal |
getPrincipal() |
de.adorsys.multibanking.domain.UserSecret |
getRequestScopeUserSecret() |
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
@Scope(scopeName="request",
proxyMode=TARGET_CLASS)
public de.adorsys.sts.tokenauth.BearerToken getBearerToken(javax.servlet.http.HttpServletRequest request,
@Autowired(required=false)
de.adorsys.sts.tokenauth.BearerTokenValidator bearerTokenValidator)
@Bean
@Scope(scopeName="request",
proxyMode=TARGET_CLASS)
public Principal getPrincipal()
@Bean
@Primary
@Scope(scopeName="request",
proxyMode=TARGET_CLASS)
public de.adorsys.multibanking.domain.UserSecret getRequestScopeUserSecret()
@Bean public org.springframework.web.cors.CorsConfigurationSource corsConfigurationSource()
Copyright © 2019. All rights reserved.