@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,
ObjectProvider<AuthoritiesExtractor> authoritiesExtractor,
ObjectProvider<PrincipalExtractor> principalExtractor) |
Modifier and Type | Method and Description |
---|---|
UserInfoTokenServices |
userInfoTokenServices() |
public UserInfoTokenServicesConfiguration(ResourceServerProperties sso, UserInfoRestTemplateFactory restTemplateFactory, ObjectProvider<AuthoritiesExtractor> authoritiesExtractor, ObjectProvider<PrincipalExtractor> principalExtractor)
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public UserInfoTokenServices userInfoTokenServices()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.