retrieving user information from OpemAM

277 Views Asked by At

I have successfully setup OpenAM and j2ee policy agent to do my sso, authentication and authorization. Now want my java application thats being protected to have the ability to access information of the currently logged user (user name and group for eg.)

1

There are 1 best solutions below

0
On

We can use the openam REST API to get these values:

https://backstage.forgerock.com/docs/openam/13/dev-guide#rest-api-crud-identity

openam/json/users/_action=