Package com.networknt.rule.conquest
Class ConquestTokenRequestTransformAction
- java.lang.Object
-
- com.networknt.rule.conquest.ConquestTokenRequestTransformAction
-
- All Implemented Interfaces:
com.networknt.rule.IAction
public class ConquestTokenRequestTransformAction extends Object implements com.networknt.rule.IAction
It is called from the request transform interceptor from the light-gateway to get the conquest planning API access token to put into the Authorization header in order to access the conquest planning APIs. For the original consumer, it might have another token in the Authorization header for the gateway to verify in order to invoke the external service handler. Once the verification is done, the Authorization header will be replaced with the conquest token from the cache or retrieved from the conquest if it is expired or about to expire.- Author:
- Steve Hu
-
-
Constructor Summary
Constructors Constructor Description ConquestTokenRequestTransformAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperformAction(Map<String,Object> objMap, Map<String,Object> resultMap, Collection<com.networknt.rule.RuleActionValue> actionValues)
-