how to access request-attributes ('server variable' / 'environment variables') in servlet
Woolf, Carl
Carl_Woolf at hms.harvard.edu
Wed Jul 13 16:06:36 UTC 2022
Thanks Peter,
We are using tomcat, with apache proxying to it.
Apparently we do not want to use AJP, so we will stick with the headers!
Appreciate your help. - Carl
From: users <users-bounces at shibboleth.net> on behalf of Peter Schober via users <users at shibboleth.net>
Date: Wednesday, July 13, 2022 at 11:58 AM
To: users at shibboleth.net <users at shibboleth.net>
Cc: Peter Schober <peter.schober at univie.ac.at>
Subject: Re: how to access request-attributes ('server variable' / 'environment variables') in servlet
* 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
--
For Consortium Member technical support, see https://shibboleth.atlassian.net/wiki/x/ZYEpPw
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20220713/31a57296/attachment.htm>
More information about the users
mailing list