Thanks David, I will give this a try.

Rob
----- Original Message ----- From: "David Smith" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, August 29, 2005 6:16 PM
Subject: Re: Getting LOGON_USER from the header


By default, tomcat ignores the REMOTE_USER header from Apache or IIS in favor if it's own authentication. To get tomcat to accept the IIS authentication info, add this attribute to the <Connector/> element in server.xml:

tomcatAuthentication="false"

--David

Robert Jose wrote:

Thanks for the response Gurumoorthy, but I get null for a result.

Rob J.

----- Original Message ----- From: "Gurumoorthy" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Monday, August 29, 2005 2:40 PM
Subject: Re: Getting LOGON_USER from the header


request.getRemoteUser()
----- Original Message ----- From: "Robert Jose" <[EMAIL PROTECTED]>
To: "Tomcat User" <tomcat-user@jakarta.apache.org>
Sent: Monday, August 29, 2005 10:44 PM
Subject: Getting LOGON_USER from the header


Hello
I have configured IIS 5.1 to redirect all jsp files to Tomcat 5.5 using the isapi redirect dll. This seems to be working well and configured correctly.

Now I am trying to get the LOGON_USER from the header. I want the windows id of the user that is hitting my web page. I am developing an Intranet site and want to do seamless login based on who the user logged into their windows machine. I know I can do this by using the command request.ServerVariables("LOGON_USER") in ASP. I also was able to get request.getHeader("LOGON_USER") to work with IIS 5.1 and JRun 4 (using the dll they provide).

Does anyone know how I can get this information using Tomcat? I would be greatly appreciative.

Thanks
Rob J.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to