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.

Impersonate user is SSO enabled portal

Avatar

Level 4

I am trying to create a portal/website with SSO authentication. In this portal, I want to provide impersonate user option for certain users. Is there any OOTB servlet/service available in AEM which can be directly used or extended. Also, what is the recommended approach to achieve this feature.

2 Replies

Avatar

Level 1

I would also like to provide an impersonate user option for some of our testing team in AEM 6.4 Assets with SSO authentication enabled.   I am following this discussion. Thank you.

Avatar

Level 4

ALindley: I was able to make it work on SSO enabled portal. There are 2 things that needs to be done in order to achieve this:

1. Set sling:sudo cookie with the user name that you want to impersonate as.

2. On Server side, using user admin or any service user that has priviledge on /home/users, set the rep:impersonator property as current user on the user that you are trying to impersonate as.