Which user is resolved when used ‘request.getResourceResolver()’ in AEM 6.3?


Que: When you are accessing the resource resolver from a sling request object, what user is this resolver mapped to?

Ans: If you do request.getResourceResolver(), the user is used of the current session. That is the recommended way, because the permissions are respected of the current user.


Leave a Reply

Your email address will not be published. Required fields are marked *