Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Can system user impersonate the normal user

Avatar

Level 10

Hi,

I want to create a impersonated user session without using an admin session. I am trying to create a session using service Resource resolver. Can you let me know whether a system user has impersonation privileges or can we set up impersonation access to a system user.

P.S: AEM 6.1 - Service user mapping does not allow normal users to be setup as username for a service name. We need to explicitly create a system user for a service in service mapper.

Thanks,
Ratna Kumar.

1 Accepted Solution

Avatar

Correct answer by
Level 10

A system user cannot impersonate a non system AEM user. You are correct in that you need to use a system user when using Sling Mapping. This is the only reason why you need a System user. 

For those whom want to know how to do this - see: 

https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

A system user cannot impersonate a non system AEM user. You are correct in that you need to use a system user when using Sling Mapping. This is the only reason why you need a System user. 

For those whom want to know how to do this - see: 

https://helpx.adobe.com/experience-manager/using/querying-experience-manager-sling.html