- All Implemented Interfaces:
- org.springframework.core.Ordered, org.springframework.security.config.annotation.SecurityConfigurer<Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>, org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@Configuration
@Conditional(value=OAuth2SsoDefaultConfiguration.NeedsWebSecurityCondition.class)
public class OAuth2SsoDefaultConfiguration
extends org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter
implements org.springframework.core.Ordered
Configuration for OAuth2 Single Sign On (SSO). If the user only has
@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.
- Since:
- 1.3.0
- Author:
- Dave Syer