Expand my Community achievements bar.

Who Me Too'd this topic

Avatar

Level 3

There are three ways in which I can get resource Resolver in AEM.

  1. Administrative resource resolver
  2. Service resource resolver with a system user
  3. Resource resolver from the request in a servlet.

Lets consider this scenario.

  1. Get an administrative resource resolver
  2. Get a service resource resolver with admin as the subservice user.
  3. 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/...

Who Me Too'd this topic