@Configuration
public class OAuth2SsoDefaultConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
implements org.springframework.core.Ordered
@EnableOAuth2Sso but not on a WebSecurityConfigurerAdapter then one is
added with all paths secured and with an order that puts it ahead of the default HTTP
Basic security chain in Spring Boot.| Modifier and Type | Class and Description |
|---|---|
protected static class |
OAuth2SsoDefaultConfiguration.NeedsWebSecurityCondition |
| Constructor and Description |
|---|
OAuth2SsoDefaultConfiguration(org.springframework.context.ApplicationContext applicationContext,
OAuth2SsoProperties sso) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http) |
int |
getOrder() |
authenticationManager, authenticationManagerBean, configure, configure, getApplicationContext, getHttp, init, setApplicationContext, setAuthenticationConfiguration, setContentNegotationStrategy, setObjectPostProcessor, setTrustResolver, userDetailsService, userDetailsServiceBeanpublic OAuth2SsoDefaultConfiguration(org.springframework.context.ApplicationContext applicationContext,
OAuth2SsoProperties sso)
protected void configure(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
throws Exception
configure in class org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapterExceptionpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2016 Pivotal Software, Inc.. All rights reserved.