Class ImpersonationClaimsEnhancerChain
java.lang.Object
com.broadleafcommerce.auth.user.service.ImpersonationClaimsEnhancerChain
- All Implemented Interfaces:
ImpersonationClaimsEnhancer
- Author:
- Nick Crum (ncrum)
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionenhance
(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.
-
Constructor Details
-
ImpersonationClaimsEnhancerChain
-
-
Method Details
-
enhance
public Map<String,Object> enhance(Map<String, Object> claims, OAuth2UserDetails impersonatedUser, ImpersonationRequestToken impersonationRequestToken) Description copied from interface:ImpersonationClaimsEnhancer
Provides an opportunity for customization of the claims for an impersonatedOAuth2SessionToken
.- Specified by:
enhance
in interfaceImpersonationClaimsEnhancer
- Parameters:
claims
- The claimsimpersonatedUser
- The impersonated userimpersonationRequestToken
- The impersonation request token- Returns:
- the enhanced claims
- See Also:
-