Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Impersonate user is SSO enabled portal

Avatar

Avatar
Validate 10
Level 3
rajeev_yadav
Level 3

Likes

12 likes

Total Posts

69 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 10
Level 3
rajeev_yadav
Level 3

Likes

12 likes

Total Posts

69 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rajeev_yadav
Level 3

09-11-2018

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.

Replies

Avatar

Avatar
Boost 1
Level 1
ALindley-UsUGQM
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
ALindley-UsUGQM
Level 1

Like

1 like

Total Posts

1 post

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
ALindley-UsUGQM
Level 1

15-11-2018

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

Avatar
Validate 10
Level 3
rajeev_yadav
Level 3

Likes

12 likes

Total Posts

69 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Validate 10
Level 3
rajeev_yadav
Level 3

Likes

12 likes

Total Posts

69 posts

Correct Reply

0 solutions
Top badges earned
Validate 10
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
rajeev_yadav
Level 3

05-03-2019

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.