Overriding properties from idp.properties at deploy time

Jason Pyeron jpyeron at pdinc.us
Wed May 4 18:40:31 UTC 2022


> From: Russell Jackson
> Sent: Wednesday, May 4, 2022 2:18 PM
>
> To facilitate deploying the same container image in different deployment scenarios, it 
> would be convenient to supply defaults in idp.properties but then be able to generate a local 
> overrides file at deploy time to override specific properties.
>
> This used to work on the 3.x branch by listing it (e.g. /conf/overrides.properties) last in 
> idp.additionalProperties; however, 4.x seems to follow a first assignment wins strategy. I've
> been able to get around it by just not having defaults, but the previous behavior sure was handy.

Do any of the values work when the container specifies them? E.g. tomcat's context.xml

<Context>
        <Parameter name="idp.home" override="false" value="D:/shibboleth-identity-provider/inst" />
        <Environment name="SOME_ENV_VAR" value="some value" type="java.lang.String" override="true" />
</Context>

If not, that would be a patch worthwhile.

--
Jason Pyeron  | Architect
PD Inc        | Certified SBA 8(a)
10 w 24th St  | Certified SBA HUBZone
Baltimore, MD | CAGE Code: 1WVR6
 
.mil: jason.j.pyeron.ctr at mail.mil
.com: jpyeron at pdinc.us
tel : 202-741-9397



More information about the users mailing list