Class ResourceServerTokenServicesConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration
@Configuration @ConditionalOnMissingBean(org.springframework.security.oauth2.config.annotation.web.configuration.AuthorizationServerEndpointsConfiguration.class) public class ResourceServerTokenServicesConfiguration extends Object
Configuration for an OAuth2 resource server.- Since:
- 1.3.0
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ResourceServerTokenServicesConfiguration.JwkTokenStoreConfiguration
protected static class
ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
protected static class
ResourceServerTokenServicesConfiguration.RemoteTokenServicesConfiguration
Constructor Summary
Constructors Constructor Description ResourceServerTokenServicesConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserInfoRestTemplateFactory
userInfoRestTemplateFactory(org.springframework.beans.factory.ObjectProvider<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)
Constructor Detail
ResourceServerTokenServicesConfiguration
public ResourceServerTokenServicesConfiguration()
Method Detail
userInfoRestTemplateFactory
@Bean @ConditionalOnMissingBean public UserInfoRestTemplateFactory userInfoRestTemplateFactory(org.springframework.beans.factory.ObjectProvider<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)