Token Caching with AEM
Hi All,
We have a Rest API Integration with AEM and Before Hitting the actual API we hit a API which generates a Token and Token needs to be passed to actual API to get the Response.
So first time once API is hit to get the token ,token is valid for 10 minutes so within 10 min same token should be used for all the API's and should be saved Server Side.
What is the best way to store the Token in AEM at server Side.
Do we need to use any Java Cache like (Ehcache) or what is the correct approach to handle such sceanrios.
Thanks in Advance.
