SystemUser issue | Community
Skip to main content
AEMLearner-1989
Level 4
Mar 28, 2019 12:14 PM UTC
Solved

SystemUser issue

Hi Team,

I have created a systemUser and add the same into user mapper configuration

user mapper configuration:

com.adobe.aem.guides.aem-guides-wknd.core:systemUser=systemUser

Code:

and getting the same via param.put(ResourceResolverFactory.SUBSERVICE,"systemUser");

log.info("userid"+resource.getUserID());

Its working fine for some java class but not for all . its giving anonymous user message .. am i missing anything here?

Please note that the systemUser has all the relevant permission .

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
Apr 4, 2019 1:01 AM UTC

resolution is given in system user.

1 reply

Prince_Shivhare
Prince_ShivhareAccepted solution
New Participant
Apr 4, 2019 1:01 AM UTC

resolution is given in system user.

Translate