system user | Community
Skip to main content
New Participant
March 28, 2019
Solved

system user

  • March 28, 2019
  • 15 replies
  • 10444 views

Hi Team,

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

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

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

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 AEMLearner-1989

Sorry..its my bad...

ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(param);

Its working now...

15 replies

Gaurav-Behl
New Participant
March 28, 2019

Could you validate if your bundle's symbolic name is correct per pom.xml - com.adobe.aem.guides.aem-guides-wknd.core

syntax:

<service-name>[:<subservice-name>]=<authorizable id of a JCR system user>

Could you explain more about "systemuser is working some java class not for all .." ?

AEMLearner-1989
New Participant
March 28, 2019

Hi ,

Thanks for your reply .

Can you pls check my query here pls . systemuser is working some java class not for all ..

example :

com.aem.example.core.userTest - Its working ..its giving user id as systemUser

com.aem.example.core.impl.SearchService - Its not working ..its giving anonymous  

smacdonald2008
New Participant
March 28, 2019

If you having problem with system user and mapping see this. It steps you through it all

Adobe Experience Manager Help | Querying Adobe Experience Manager 6.4 JCR data using the QueryBuilder API

AEMLearner-1989
New Participant
March 28, 2019

Can you pls check here

SystemUser issue

Prince_Shivhare
New Participant
March 28, 2019

it seems you forgot to tell the issue?