@Component public class UaaTokenEnhancer extends Object implements org.springframework.security.oauth2.provider.token.TokenEnhancer
| Constructor and Description |
|---|
UaaTokenEnhancer(String issuer,
AppRepository appRepository) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.oauth2.common.OAuth2AccessToken |
enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication) |
public UaaTokenEnhancer(@Value(value="${jwt.issuer:${spring.application.name}}")
String issuer,
AppRepository appRepository)
public org.springframework.security.oauth2.common.OAuth2AccessToken enhance(org.springframework.security.oauth2.common.OAuth2AccessToken accessToken,
org.springframework.security.oauth2.provider.OAuth2Authentication authentication)
enhance in interface org.springframework.security.oauth2.provider.token.TokenEnhancerCopyright © 2017 Pivotal Software, Inc.. All rights reserved.