java-idp-tesbed : overlay shibboleth-idp-ext-cas ?

Marvin Addison marvin.addison at gmail.com
Mon Nov 11 10:14:02 EST 2013


> It would be nice to get the configuration resource paths
> compatible, I may have broken that with the previous commit of
> idp.home as a system property.

You might check out the way I configured resolution of the
idp.properties file path in the shibboleth-idp-ext-cas project. The
Spring environment-based configuration system allows you to mix and
match multiple property sources: system properties, servlet context
params, JNDI, etc. I don't believe there's support for shell variables
out of the box, but should be easy to write a custom PropertySource
[1] to support it. Then it's up to deployers how to set the idp.home
property that points to subordinate configuration resources.

M

[1] http://docs.spring.io/spring/docs/3.1.4.RELEASE/javadoc-api/org/springframework/core/env/PropertySource.html


More information about the dev mailing list