@Configuration
@Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.JwtTokenCondition.class)
protected static class ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration
extends java.lang.Object
Constructor and Description |
---|
JwtTokenServicesConfiguration(ResourceServerProperties resource,
org.springframework.beans.factory.ObjectProvider<java.util.List<JwtAccessTokenConverterConfigurer>> configurers,
org.springframework.beans.factory.ObjectProvider<java.util.List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers) |
Modifier and Type | Method and 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() |
public JwtTokenServicesConfiguration(ResourceServerProperties resource, org.springframework.beans.factory.ObjectProvider<java.util.List<JwtAccessTokenConverterConfigurer>> configurers, org.springframework.beans.factory.ObjectProvider<java.util.List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers)
@Bean @ConditionalOnMissingBean(value=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)
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.TokenStore.class) public org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore()
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter.class) public org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer()