tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: request.getRemoteUser() returning null
Date Wed, 14 Feb 2007 13:51:55 GMT
You'll need to add an attribute to the ajp13 connector in server.xml:

tomcatAuthentication="false"

By default, tomcat ignores the REMOTE_USER header provided by the IIS or
Apache HTTPd front-end.  This allows that header through.

--David

Uwe_77 wrote:

>Hello,
>
>I configured IIS 6.0 (Windows 2003) to redirect jsp's to Tomcat (5.5.20) via
>JK2 ajp13 (isapi_redirector2.dll). Anonymous login in IIS ist turned off,
>Windows Authentication is turned on. Now I need to get the username. When I
>us request.getRemoteUser(), that is only returning null. In jk2.properties I
>added tomcatAuthentication="false" (also I tried
>request.tomcatAuthentication="false"), but that is also not working.
>
>Any ideas? Thanks!
>
>Uwe
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message