@Configuration
@ConditionalOnMissingBean(value=org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerEndpointsConfiguration.class)
public class ResourceServerTokenServicesConfiguration
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ResourceServerTokenServicesConfiguration.JwkTokenStoreConfiguration |
protected class |
ResourceServerTokenServicesConfiguration.JwtKeyStoreConfiguration |
protected static class |
ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration |
protected static class |
ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration |
Constructor and Description |
---|
ResourceServerTokenServicesConfiguration() |
Modifier and Type | Method and Description |
---|---|
UserInfoRestTemplateFactory |
userInfoRestTemplateFactory(org.springframework.beans.factory.ObjectProvider<java.util.List<UserInfoRestTemplateCustomizer>> customizers,
org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails> details,
org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.OAuth2ClientContext> oauth2ClientContext) |
public ResourceServerTokenServicesConfiguration()
@Bean @ConditionalOnMissingBean public UserInfoRestTemplateFactory userInfoRestTemplateFactory(org.springframework.beans.factory.ObjectProvider<java.util.List<UserInfoRestTemplateCustomizer>> customizers, org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.resource.OAuth2ProtectedResourceDetails> details, org.springframework.beans.factory.ObjectProvider<org.springframework.security.oauth2.client.OAuth2ClientContext> oauth2ClientContext)