There are three ways in which I can get resource Resolver in AEM.
- Administrative resource resolver
- Service resource resolver with a system user
- Resource resolver from the request in a servlet.
Lets consider this scenario.
- Get an administrative resource resolver
- Get a service resource resolver with admin as the subservice user.
- Resource resolver from the request in a servlet (hit on author) after providing admin credentials as "basic authentication" say in postman.
Are these three not supposed to be the same? Quick and dirty code for What i mean. Please let me know what you think.
Not sure how to add code here so providing my Githib code link
https://github.com/GodaProjects/aem652/blob/feature/resource-resolver-2/core/src/main/java/com/goda/...