Class ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
- java.lang.Object
- org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
- Enclosing class:
- ResourceServerTokenServicesConfiguration
@Configuration @Conditional(org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.JwtTokenCondition.class) protected static class ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration extends Object
Constructor Summary
Constructors Constructor Description JwtTokenServicesConfiguration(ResourceServerProperties resource, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterConfigurer>> configurers, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter
jwtTokenEnhancer()
org.springframework.security.oauth2.provider.token.DefaultTokenServices
jwtTokenServices(org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore)
org.springframework.security.oauth2.provider.token.TokenStore
jwtTokenStore()
Constructor Detail
JwtTokenServicesConfiguration
public JwtTokenServicesConfiguration(ResourceServerProperties resource, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterConfigurer>> configurers, org.springframework.beans.factory.ObjectProvider<List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers)
Method Detail
jwtTokenServices
@Bean @ConditionalOnMissingBean(org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public org.springframework.security.oauth2.provider.token.DefaultTokenServices jwtTokenServices(org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore)
jwtTokenStore
@Bean @ConditionalOnMissingBean(org.springframework.security.oauth2.provider.token.TokenStore.class) public org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore()
jwtTokenEnhancer
@Bean public org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer()