@Configuration @ConditionalOnMissingClass(value="org.springframework.social.connect.support.OAuth2ConnectionFactory") @Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.NotTokenInfoCondition.class) protected static class ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration.UserInfoTokenServicesConfiguration extends Object
Constructor and Description |
---|
UserInfoTokenServicesConfiguration(ResourceServerProperties sso,
UserInfoRestTemplateFactory restTemplateFactory,
org.springframework.beans.factory.ObjectProvider<AuthoritiesExtractor> authoritiesExtractor,
org.springframework.beans.factory.ObjectProvider<PrincipalExtractor> principalExtractor) |
Modifier and Type | Method and Description |
---|---|
UserInfoTokenServices |
userInfoTokenServices() |
public UserInfoTokenServicesConfiguration(ResourceServerProperties sso, UserInfoRestTemplateFactory restTemplateFactory, org.springframework.beans.factory.ObjectProvider<AuthoritiesExtractor> authoritiesExtractor, org.springframework.beans.factory.ObjectProvider<PrincipalExtractor> principalExtractor)
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public UserInfoTokenServices userInfoTokenServices()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.