public class ImpersonationTokenEnhancer extends Object implements org.springframework.security.oauth2.provider.token.TokenEnhancer
TokenEnhancer that copies claims from the current CSR's
Authentication.getDetails() to the access token claims.| Constructor and Description |
|---|
ImpersonationTokenEnhancer() |
| 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 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 © 2021. All rights reserved.