SystemUser issue

sathya_prakasha

28-03-2019

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 .

Answers (0)