AEM4BEGINNER blog is for Beginners who are interested in learning Adobe Experience Manager (AEM) aka Adobe CQ5 from basics. The Information provided in this blog is for learning and testing purposes only. Here, I have posted the information which I know or gathered from different sources.
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.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.