Securing servlet
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?
