How to change relying-party.xml config location dynamically
Cantor, Scott
cantor.2 at osu.edu
Tue Jul 23 19:43:48 EDT 2013
On 7/23/13 7:35 PM, "Yaowen Tu" <yaowen.tu at gmail.com> wrote:
>So how can I change the source code to support some kinds of place holder
>like:
>
><srv:Service id="shibboleth.RelyingPartyConfigurationManager"
>xsi:type="relyingParty:SAMLMDRelyingPartyConfigurationManager"
>
> depends-on="shibboleth.SAML1AttributeAuthority
>shibboleth.SAML2AttributeAuthority">
> <srv:ConfigurationResource
>file="$IDP_CONIFG_HOME$/idp/relying-party.xml"
>xsi:type="resource:FilesystemResource"/>
> </srv:Service>
>
>
>When we launch IdP, we make sure IDP_CONFIG_HOME has been set to
>environment variables. Then in the IdP code, I resolve $IDP_CONIFG_HOME$
>to translate to the real path.
I don't recall what code handles the Service schema, but the
ConfigurationResource piece is pluggable. Writing an extension with a new
resource type would work. The existing ones are in shibboleth-common.
-- Scott
More information about the users
mailing list