I have a servlet that provides page content in needed JSON format. This JSON will be used by a third party and I need to provide a security level check to this. How can I provide a token authentication in servlet or in ant service/wrapper before servlet to provide a layer of security.
This cannot be done by AEM ACL because the requirement is to do it via code using token authentication.
How can this be achieved?
Solved! Go to Solution.
The alternative could be the basic auth, which can be setup easily at apache level. If that suits your requirement?
For token I am no sure if you can validate the token from AEM and consumer from the identity provider.