tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: tomcat, apache with mod_jk and mod_auth_kerb
Date Wed, 16 Jul 2008 09:22:47 GMT
Nikhil schrieb:
> On Tue, Jul 15, 2008 at 6:35 PM, Rainer Jung <rainer.jung@kippdata.de>
> wrote:
> 
> What do you expect to be the value of the 'REMOTE_USER' variable? Do you
>> expoect something else, than what you get from request.getRemoteUser()? What
>> do you mean by variable? Maybe an httpd environment Variable?
>>
>>
> Precisely. I also need the httpd environment variable REMOTE_USER  also
> passed to the tomcat .... I have this in my httpd.conf ... and I am reading
> all the environment variables(apart from the headers) in the jsp but have
> these values set to null... am I missing anything specific with these
> directives?
> 
> 
>   SetHandler jakarta-servlet
>   RequestHeader set X_REMOTE_USER %{RU}e
>   SetEnv SET_REMOTE_USER %{REMOTE_USER}e
>   JkEnvVar JK_REMOTE_USER %{remoteUser}e

To repeat two of my questions:

What do you expect to be the value of the 'REMOTE_USER' variable?

Do you expect something else, than what you get from 
request.getRemoteUser()?

After I understand that, we can find an appropriate solution.

Regards,

Rainer

---------------------------------------------------------------------
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