Background:
We are developing an internal portal that uses ActiveDirectory to authenticate and authorize the users. It is struts/tiles based. I have written a LoginModule for the AD http://www.jboss.org/index.html?module=bb&op=viewtopic&t=53499. I want the users to be logged into the portal automatically.
Problem:
When you turn on Windows Integrated Authentication in IE the windows user name can be retreived with request.getRemoteUser() as long as you are not hitting a secured URI. I created a login jsp that uses java script to autopost to j_security_check however it appears that when the server sends the browser to the login page the user name is no longer in the request. Is there a way around this?
I don't need the password just the user name.
Never mind, I'm giving up on JBoss and going back to WebLogic. The isapi redirector doesn't work except under very specific circustances so I can't use JBoss.