@Configuration @Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerTokenServicesConfiguration.JwtTokenCondition.class) protected static class ResourceServerTokenServicesConfiguration.JwtTokenServicesConfiguration extends Object
Constructor and Description |
---|
JwtTokenServicesConfiguration(ResourceServerProperties resource,
ObjectProvider<List<JwtAccessTokenConverterConfigurer>> configurers,
ObjectProvider<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() |
public JwtTokenServicesConfiguration(ResourceServerProperties resource, ObjectProvider<List<JwtAccessTokenConverterConfigurer>> configurers, ObjectProvider<List<JwtAccessTokenConverterRestTemplateCustomizer>> customizers)
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.ResourceServerTokenServices.class) public org.springframework.security.oauth2.provider.token.DefaultTokenServices jwtTokenServices()
@Bean public org.springframework.security.oauth2.provider.token.TokenStore jwtTokenStore()
@Bean public org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.