@Configuration @ConditionalOnClass(value={org.springframework.security.oauth2.common.OAuth2AccessToken.class,org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter.class}) @Import(value={OAuth2AuthorizationServerConfiguration.class,OAuth2MethodSecurityConfiguration.class,OAuth2ResourceServerConfiguration.class,OAuth2RestOperationsConfiguration.class}) @EnableConfigurationProperties(value=OAuth2ClientProperties.class) public class OAuth2AutoConfiguration extends Object
Auto-configuration
for Spring Security OAuth2.Modifier and Type | Class and Description |
---|---|
protected static class |
OAuth2AutoConfiguration.ResourceServerOrderProcessor |
Constructor and Description |
---|
OAuth2AutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ResourceServerProperties |
resourceServerProperties() |
@Bean public ResourceServerProperties resourceServerProperties()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.