<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Apologies for the top post. They make me use Outlook over here.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The context parameter works as does setting system properties out of catalina.properties. In retrospect, I'm not sure why I didn't think of doing it his way in the first place.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Jason Pyeron <jpyeron@pdinc.us><br>
<b>Date: </b>Wednesday, May 4, 2022 at 11:40 AM<br>
<b>To: </b>'Shib Users' <users@shibboleth.net><br>
<b>Cc: </b>Russell Jackson <Russell.Jackson@csusb.edu><br>
<b>Subject: </b>RE: Overriding properties from idp.properties at deploy time<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">> From: Russell Jackson<br>
> Sent: Wednesday, May 4, 2022 2:18 PM<br>
><br>
> To facilitate deploying the same container image in different deployment scenarios, it
<br>
> would be convenient to supply defaults in idp.properties but then be able to generate a local
<br>
> overrides file at deploy time to override specific properties.<br>
><br>
> This used to work on the 3.x branch by listing it (e.g. /conf/overrides.properties) last in
<br>
> idp.additionalProperties; however, 4.x seems to follow a first assignment wins strategy. I've<br>
> been able to get around it by just not having defaults, but the previous behavior sure was handy.<br>
<br>
Do any of the values work when the container specifies them? E.g. tomcat's context.xml<br>
<br>
<Context><br>
<Parameter name="idp.home" override="false" value="D:/shibboleth-identity-provider/inst" /><br>
<Environment name="SOME_ENV_VAR" value="some value" type="java.lang.String" override="true" /><br>
</Context><br>
<br>
If not, that would be a patch worthwhile.<br>
<br>
--<br>
Jason Pyeron | Architect<br>
PD Inc | Certified SBA 8(a)<br>
10 w 24th St | Certified SBA HUBZone<br>
Baltimore, MD | CAGE Code: 1WVR6<br>
<br>
.mil: jason.j.pyeron.ctr@mail.mil<br>
.com: jpyeron@pdinc.us<br>
tel : 202-741-9397<o:p></o:p></p>
</div>
</div>
</body>
</html>