@Configuration
@ConditionalOnClass(value={org.springframework.security.oauth2.common.OAuth2AccessToken.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurer.class})
@Import(value={OAuth2AuthorizationServerConfiguration.class,OAuth2MethodSecurityConfiguration.class,OAuth2ResourceServerConfiguration.class,OAuth2RestOperationsConfiguration.class})
@AutoConfigureBefore(value=org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration.class)
@EnableConfigurationProperties(value={OAuth2ClientProperties.class,ClientProperties.class})
public class OAuth2AutoConfiguration
extends java.lang.Object
Auto-configuration
for Spring Security OAuth2.
- Since:
- 1.3.0