SystemUser issue | Community
Skip to main content
AEMLearner-1989
Level 4
March 28, 2019
Solved

SystemUser issue

  • March 28, 2019
  • 1 reply
  • 1784 views

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.
Best answer by Prince_Shivhare

resolution is given in system user.

1 reply

Prince_Shivhare
Community Advisor
Prince_ShivhareCommunity AdvisorAccepted solution
Community Advisor
April 4, 2019

resolution is given in system user.