@Configuration
@Conditional(value=org.springframework.boot.autoconfigure.security.oauth2.authserver.AuthorizationServerTokenServicesConfiguration.JwtTokenCondition.class)
protected static class AuthorizationServerTokenServicesConfiguration.JwtTokenServicesConfiguration
extends java.lang.Object
security.oauth2.authorization.jwt.key-value
Constructor and Description |
---|
JwtTokenServicesConfiguration(AuthorizationServerProperties authorization) |
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(org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer) |
public JwtTokenServicesConfiguration(AuthorizationServerProperties authorization)
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.AuthorizationServerTokenServices.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(org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer)
@Bean @ConditionalOnMissingBean(value=org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter.class) public org.springframework.security.oauth2.provider.token.store.JwtAccessTokenConverter jwtTokenEnhancer()