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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to get logged user session details in AEM

Qamar_khan
Level 3
Level 3

Hello All,

               I am trying to get logged in user session details in my java servlet like user name,password,group,permission and complete profile details.

In case of administrator logged in I am able get all details successfully but in case of other user I am getting error of "Anonymous ".

1.http://localhost:port/useradmin  AEM Page-  I have applied all r/w permission to my user.

2.By using AEM my user login token I have checked my rest API method call and I am able get user session details in this scenario also.

3.But when I am trying with same rest API method call from my HTML5 application I am facing the "Anonymous " error problem.

Thanks

Qamar

0 Replies