tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: Passing user id from web page to tomcat webapp
Date Thu, 14 Jul 2011 13:50:40 GMT
David kerber wrote:
> I have a situation where my users will be logging into their pages on an 
> IIS 5 web server, which authenticates them with their user ID and 
> password as configured in IIS.  This works fine.
> 
> Now I need to add some new functionality to the web site that will be 
> using my tomcat webapp, and I don't want them to have to authenticate 
> again in my app, so I'm trying to figure out how to pass the user ID 
> from the web page on IIS, to my webapp.  I thought 
> request.getRemoteUser() would do it, but that's returning null, rather 
> than the loggged-in user ID.
> 
You need to specify what you use to forward requests from IIS to Tomcat.
If you are using Isapi_Redirect, then set the attribute "tomcatAuthentication" to false in

the Tomcat AJP <Connector>  (in server.xml).


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


Mime
View raw message