tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From savoym <MelindaSa...@texashealth.org>
Subject Re: Question on workers.properties file
Date Wed, 19 May 2010 22:43:26 GMT

Yes.  The users are already being authenticated by IIS before IIS forwards
the request to Tomcat.  And yes, I am wanting to retrieve in my java app
this userid from what I thought would be through the HttpServletRequest
class.  However, that is not working.  I tried to retrieve it using this
class on the header Authorization but I am still getting a NULL value. 

I understood, that maybe through the workers.properties file I could SET a
server environment variable using the Request.ServerVariable("AUTH_USER")
method but I'm not sure how to accomplish that if that is a possibility.

I guess I'm just not sure how to get at the USERID that IIS should already
have in some form or fashion.

I hope that is more clear.  I appreciate very much the question and reply.

Regards.



awarnier wrote:
> 
> savoym wrote:
>> I just got IIS to forward my request to Tomcat using the Apache
>> Tomcat-Connectors doc. 
>> 
>> I am trying to authenticate the user login/id that executes the request
>> to
>> my web app to be able to grab the user login and use in my java  app. 
>> 
> Can you explain a little bit more in detail, or maybe just in another 
> way, what you are trying to achieve ?
> Are users already authenticated by IIS (as per their Windows Domain 
> user-id), before IIS forwards the request to Tomcat ? And do you want to 
> retrieve this user-id in Tomcat ?
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Question-on-workers.properties-file-tp28599711p28615200.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message