开发者

Does WebSphere 7 support Integrated Windows Authentication?

开发者 https://www.devze.com 2023-02-11 14:45 出处:网络
Is Integrated Windows Authentication available in WebSphere (7)? Specifically, how is it possible to obtain the username and gro开发者_StackOverflow中文版up memberships of the user accessing a web ap

Is Integrated Windows Authentication available in WebSphere (7)?

Specifically, how is it possible to obtain the username and gro开发者_StackOverflow中文版up memberships of the user accessing a web application via a IE?


SPNEGO is supported on was7 see Creating a single sign-on for HTTP requests using SPNEGO Web authentication

As specified in the doc:

The requester's identity in the WebSphere Application Server security registry must be identical to the identity that the SPNEGO web authentication retrieves. An identical match does occur when Microsoft Windows Active Directory server is the Lightweight Directory Access Protocol (LDAP) server that is used in WebSphere Application Server.

Which means that HttpServletRequest.getRemoteUser() will return you the actual username.

You can perform ldap operations through jndi see JNDI as an LDAP API However I would prefer mapping groups to roles to determine group membership.

0

精彩评论

暂无评论...
验证码 换一张
取 消