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 14:36:07 GMT
> Thanks Rainer.  If I want to explicitly pass an environment variable from
> the httpd to the tomcat, I am using the RequestHeader, JkEnvVar, Setenv but
> unable to have them as it is passed in the tomcat... how do I go about
> that?
> While I am completely convinced to use getRemoteUser() method only for
> getting the authenticated principal...

If you've already set a value in some variable "xxx", then you configure

JkEnvVar xxx

On the Tomcat side, you retrieve the value by request.getAttribute("xxx");

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