views:

120

answers:

0

Hi,

I am trying to use the HttpServletRequest getRemoteUser() method to obtain the Windows authenticated user on an internal website. I am currently using Websphere 6.1 with IIS 6.0 as the web server. I have two web servers, one on machine A and another on machine B.

Everything works fine when I pass my request through the IIS server on Machine A. I can get the remote user name no problem. The problem is when I try to access websphere through the IIS server on Machine B, getRemoteUser() always returns null.

Both servers are routing to exactly the same Websphere server with exactly the same application. The only thing I can think of is perhaps the Machine B IIS server is not configured correctly?

It is my understanding to pass the user from IIS to Websphere I should just check the checkbox "Integrated Windows Authentication" for which both IIS servers have checked.

Anyone else encouter this problem or have any ideas where to look to solve this issue?