You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by VAN DER MARLIERE FREDERIC <fr...@cdn.fr> on 2005/03/22 17:34:57 UTC

getRemoteUser() returns null !!!

Hi,

I installed a Tomcat 5.0 behind a IIS 6.0 web server (which uses NTLM
authentication). 
The application works fine but I can't get the user login with the
getRemoteUser() method, I get null !!!

Does someone know why?
Do I have to configure something in Tomcat ?

Thanks in advance.
Fred.




----------------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.Tout message electronique est susceptible d'alteration.
Le CREDIT DU NORD et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie.
This message and any attachments ( the "message") are confidential and intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.E-mails are susceptible to alteration.
Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified.
----------------------------------------------------


Re: getRemoteUser() returns null !!!

Posted by Mladen Turk <ml...@jboss.com>.
VAN DER MARLIERE FREDERIC wrote:
> The application works fine but I can't get the user login with the
> getRemoteUser() method, I get null !!!
> 
> Does someone know why?
> Do I have to configure something in Tomcat ?
> 

Yes.
Set tomcatAuthentication="false" for AJP connector.

Regards,
Mladen.

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