How to change relying-party.xml config location dynamically

Yaowen Tu yaowen.tu at gmail.com
Tue Jul 23 19:35:51 EDT 2013


Hi Shibboleth Experts,

We are using Shibboleth IdP as our OOTB IdP, and we have following
requirements: the relying-party.xml might be moved to other places along
with some other config files. We don't want to go to service.xml to change
the relying-party.xml location all the times.

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 am not familiar with the IdP architecture. Can anyone tell me where is
the code that I look at and make these changes? I suppose it is a small
change but I am not able to find where.

Thanks a lot.
Yaowen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130723/f9b39646/attachment-0001.html 


More information about the users mailing list