Class ClientPermissionsAccessTokenEnhancer

java.lang.Object
com.broadleafcommerce.auth.user.session.token.enhancer.ClientPermissionsAccessTokenEnhancer
All Implemented Interfaces:
JwtAccessTokenEnhancer, org.springframework.core.Ordered

public class ClientPermissionsAccessTokenEnhancer extends Object implements JwtAccessTokenEnhancer
This JwtAccessTokenEnhancer determines the set of all permissions available to a client-only principal specified in the given JwtTokenEnhancerContext. This set of permissions is added to JwtTokenEnhancerContext.getAdditionalContext(). Note, this enhancer does not actually add any claims to the token context.
Author:
Cade Rea (cade-rea), Samarth Dhruva (samarthd)