Interface ImpersonationClaimsEnhancer
-
- All Known Implementing Classes:
DefaultImpersonationClaimsEnhancer
,ImpersonationClaimsEnhancerChain
public interface ImpersonationClaimsEnhancer
Strategy for enhancing anOAuth2SessionToken
claims before it is stored as an HTTP-only cookie.- Author:
- Nick Crum (ncrum)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
enhance(Map<String,Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken)
Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.
-
-
-
Method Detail
-
enhance
Map<String,Object> enhance(Map<String,Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken)
Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.- Parameters:
claims
- The claimsimpersonatedUser
- The impersonated userimpersonationRequestToken
- The impersonation request token- Returns:
- the enhanced claims
- See Also:
ImpersonationService.generateImpersonationToken(ImpersonationRequest, Authentication)
,ImpersonationService.consumeImpersonationToken(String)
-
-