@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @EnableOAuth2Client @EnableConfigurationProperties(value=OAuth2SsoProperties.class) @Import(value={OAuth2SsoDefaultConfiguration.class,OAuth2SsoCustomConfiguration.class,ResourceServerTokenServicesConfiguration.class}) public @interface EnableOAuth2Sso
WebSecurityConfigurerAdapter
provided by the user and annotated with
@EnableOAuth2Sso
, it is enhanced by adding an authentication filter and an
authentication entry point. 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.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.