@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,
UserInfoRestTemplateFactory restTemplateFactory,
ObjectProvider<AuthoritiesExtractor> authoritiesExtractor,
ObjectProvider<PrincipalExtractor> principalExtractor) |
Modifier and Type | Method and Description |
---|---|
SpringSocialTokenServices |
socialTokenServices() |
UserInfoTokenServices |
userInfoTokenServices() |
public SocialTokenServicesConfiguration(ResourceServerProperties sso, ObjectProvider<org.springframework.social.connect.support.OAuth2ConnectionFactory<?>> connectionFactoryProvider, UserInfoRestTemplateFactory restTemplateFactory, ObjectProvider<AuthoritiesExtractor> authoritiesExtractor, ObjectProvider<PrincipalExtractor> principalExtractor)
@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 © 2017 Pivotal Software, Inc.. All rights reserved.