Setting idp.home
Brent Putman
putmanb at georgetown.edu
Tue Jul 12 04:16:30 EDT 2016
On 7/11/16 11:00 PM, Tom Zeller wrote:
>
> Also FWIW, after re-reading the Tomcat docs, I think context.xml can accept <context-param>s to avoid modifying web.xml. But I'm not sure, and plan on giving that a try when I get back to it.
Absolutely it can, I do that routinely. Actually, I'm not sure which
"context.xml" or <Context> you mean [1], since they can be located in
various places [2], but: You can absolutely set/override context
params for a specific web app completely in the container - meaning
completely external to the web app - without touching web.xml or
anything else in the war at all. You do that by putting the params in
the external <Context> deployment fragment, such as we document as
conf/Catalina/localhost/idp.xml [3]. The syntax there is not quite
the same as web.xml; instead it's <Parameter> elements [4]. But it
absolutely it works, I've been doing it for probably a decade.
I *thought* Jetty could do something like this too, but off-hand I
don't have references (might have just been wishful thinking/assuming).
[1] https://tomcat.apache.org/tomcat-8.5-doc/config/context.html
[2]
https://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Defining_a_context
[3] https://wiki.shibboleth.net/confluence/display/IDP30/ApacheTomcat8
[4]
https://tomcat.apache.org/tomcat-8.5-doc/config/context.html#Context_Parameters
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160712/ce9146bf/attachment.html>
More information about the users
mailing list