system user | Community
Skip to main content
New Participant
Mar 28, 2019 12:05 PM UTC
Solved

system user

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.
AEMLearner-1989
AEMLearner-1989Accepted solution
Level 4
Mar 29, 2019 2:22 PM UTC

Sorry..its my bad...

ResourceResolver resourceResolver = resourceResolverFactory.getServiceResourceResolver(param);

Its working now...

15 replies

Gaurav-Behl
Level 10
Mar 28, 2019 2:19 PM UTC

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 .." ?

Translate
AEMLearner-1989
Level 4
Mar 28, 2019 1:15 PM UTC

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  

Translate
smacdonald2008
Level 10
Mar 28, 2019 1:09 PM UTC

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

Translate
AEMLearner-1989
Level 4
Mar 28, 2019 1:06 PM UTC

Can you pls check here

SystemUser issue

Translate
Prince_Shivhare
New Participant
Mar 28, 2019 12:29 PM UTC

it seems you forgot to tell the issue?

Translate