<div dir="ltr"><div>I hope it is better to change the source code directly, because most likely it will be a generic place, once I change it, the same place holder can be applied to any ConfigurationResource values that defined in other places.<br>
<br></div>So can anyone give me some hint about where it is?<br></div><div class="gmail_extra"><br clear="all"><div>Yaowen</div>
<br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 5:01 PM, Yaowen Tu <span dir="ltr"><<a href="mailto:yaowen.tu@gmail.com" target="_blank">yaowen.tu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks a lot Scott. Can you give me some more details about the plugins? Where is the sample code that I should look at? Any documents?<span class="HOEnZb"><font color="#888888"><br></font></span></div><div class="gmail_extra">
<span class="HOEnZb"><font color="#888888"><br clear="all"><div>Yaowen</div></font></span><div><div class="h5">
<br><br><div class="gmail_quote">On Tue, Jul 23, 2013 at 4:43 PM, Cantor, Scott <span dir="ltr"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 7/23/13 7:35 PM, "Yaowen Tu" <<a href="mailto:yaowen.tu@gmail.com" target="_blank">yaowen.tu@gmail.com</a>> wrote:<br>
<br>
>So how can I change the source code to support some kinds of place holder<br>
>like:<br>
><br>
><srv:Service id="shibboleth.RelyingPartyConfigurationManager"<br>
>xsi:type="relyingParty:SAMLMDRelyingPartyConfigurationManager"<br>
><br>
> depends-on="shibboleth.SAML1AttributeAuthority<br>
>shibboleth.SAML2AttributeAuthority"><br>
> <srv:ConfigurationResource<br>
>file="$IDP_CONIFG_HOME$/idp/relying-party.xml"<br>
>xsi:type="resource:FilesystemResource"/><br>
> </srv:Service><br>
><br>
><br>
>When we launch IdP, we make sure IDP_CONFIG_HOME has been set to<br>
>environment variables. Then in the IdP code, I resolve $IDP_CONIFG_HOME$<br>
>to translate to the real path.<br>
<br>
</div>I don't recall what code handles the Service schema, but the<br>
ConfigurationResource piece is pluggable. Writing an extension with a new<br>
resource type would work. The existing ones are in shibboleth-common.<br>
<br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>