per run time environment idp.properties

Rod Widdowson rdw at steadingsoftware.com
Thu Feb 20 10:54:14 EST 2014


>By setting the 'idp.home' property which defines the location of
>idp.properties IIRC ? But we probably  just want to override specific
>properties per test or env.

The trouble with that is that a whole shed load of other things (44 files)
depend on ${idp.home} and so you have to duplicate much (all?) of the conf
environment. What I was hoping to do was a topical change to one file.

> Doesn't the Spring override mechanism have some kind of auto-deference to
> env variables or system properties? I thought I remembered reading that.

That works and is actually even better.  I get to have topical control over
exactly the property I want to change.  So I don't even have to clone
idp.properties.

FYI I have the first test using a custom web flow coded up now
(Principal->transientAttribute->NameID->NameIDPrincipal->C14N->Principal).
I just need to clean up the code and check it in.

Thanks all.

Rod



More information about the dev mailing list