从 OpemAM 检索用户信息
我已成功设置 OpenAM 和 j2ee 策略代理来执行我的 sso、身份验证和授权。现在希望我的受保护的 java 应用程序能够访问当前登录用户的信息(例如用户名和组)
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.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们可以使用 openam REST API 来获取这些值:
https://backstage.forgerock.com/docs/openam/13/dev-guide#rest-api-crud-identity
openam/json/users/_action=
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=