IdP access to server environment variables

Cantor, Scott cantor.2 at osu.edu
Thu Sep 29 16:39:28 BST 2011


On 9/29/11 11:25 AM, "Liam Hoekenga" <liamr at umich.edu> wrote:
>
>We're using mod_proxy and mod_proxy_ajp.  I know that mod_proxy_ajp
>will forward any environment variable with the AJP_ prefix to tomcat.
>Is it then possible to access them?  (Maybe
>$requestContext.getAttribute("variableName")?)

I believe the AJP thing reflects them as headers once they get to Tomcat,
but that's a dim recollection.

The requestContext is a Shibboleth class, not a servlet request. If it's a
front channel flow, there are methods that can be used to get access to
the servlet request from the request context.

-- Scott



More information about the users mailing list