April 8, 2020
Estimated Post Reading Time ~

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

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

Answer: 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.

Source


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.