Interface ImpersonationClaimsEnhancer
- All Known Implementing Classes:
DefaultImpersonationClaimsEnhancer
,ImpersonationClaimsEnhancerChain
public interface ImpersonationClaimsEnhancer
Strategy for enhancing an
OAuth2SessionToken
claims before it is stored as an HTTP-only
cookie.- Author:
- Nick Crum (ncrum)
-
Method Summary
Modifier and TypeMethodDescriptionenhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.
-
Method Details
-
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:
-