how to access request-attributes ('server variable' / 'environment variables') in servlet

Peter Schober peter.schober at univie.ac.at
Wed Jul 13 15:57:56 UTC 2022


* Woolf, Carl <Carl_Woolf at hms.harvard.edu> [2022-07-13 17:05]:
> request.getAttribute("Shib-Identity-Provider")

What's the Java servlet container you're using and how exactly are you
integrating the web server with it?
Unless things have changed you can only get attributes from the Shib
SP into Java *request* *attributes* using AJP as the protocol between the
web server and the servlet container -- not by HTTP Proxying:

https://shibboleth.atlassian.net/wiki/spaces/SP3/pages/2067400159/JavaHowTo

-peter


More information about the users mailing list