tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Jose" <rjos...@comcast.net>
Subject Re: Getting LOGON_USER from the header
Date Tue, 30 Aug 2005 14:53:42 GMT
Thanks David, that worked perfectly.  I appreciate your help.

Rob

----- Original Message ----- 
From: "David Smith" <dns4@cornell.edu>
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" 
>> <g.raghupathy@btinternet.com>
>> 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" <rjose89@comcast.net>
>>> 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: tomcat-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message