@Configuration @ConditionalOnClass(value=org.springframework.social.connect.support.OAuth2ConnectionFactory.class) protected static class ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration.SocialTokenServicesConfiguration extends Object
Constructor and Description |
---|
SocialTokenServicesConfiguration(ResourceServerProperties sso,
ObjectProvider<org.springframework.social.connect.support.OAuth2ConnectionFactory<?>> connectionFactoryProvider,
ObjectProvider<org.springframework.security.oauth2.client.OAuth2RestOperations> restTemplateProvider,
ObjectProvider<AuthoritiesExtractor> authoritiesExtractorProvider) |
Modifier and Type | Method and Description |
---|---|
SpringSocialTokenServices |
socialTokenServices() |
UserInfoTokenServices |
userInfoTokenServices() |
public SocialTokenServicesConfiguration(ResourceServerProperties sso, ObjectProvider<org.springframework.social.connect.support.OAuth2ConnectionFactory<?>> connectionFactoryProvider, @Qualifier(value="userInfoRestTemplate") ObjectProvider<org.springframework.security.oauth2.client.OAuth2RestOperations> restTemplateProvider, ObjectProvider<AuthoritiesExtractor> authoritiesExtractorProvider)
@Bean @ConditionalOnBean(value=org.springframework.social.connect.ConnectionFactoryLocator.class) @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public SpringSocialTokenServices socialTokenServices()
@Bean @ConditionalOnMissingBean(value={org.springframework.social.connect.ConnectionFactoryLocator.class,org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class}) public UserInfoTokenServices userInfoTokenServices()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.