<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">&lt;<a href="mailto:yaowen.tu@gmail.com" target="_blank">yaowen.tu@gmail.com</a>&gt;</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">&lt;<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>&gt;</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, &quot;Yaowen Tu&quot; &lt;<a href="mailto:yaowen.tu@gmail.com" target="_blank">yaowen.tu@gmail.com</a>&gt; wrote:<br>
<br>
&gt;So how can I change the source code to support some kinds of place holder<br>
&gt;like:<br>
&gt;<br>
&gt;&lt;srv:Service id=&quot;shibboleth.RelyingPartyConfigurationManager&quot;<br>
&gt;xsi:type=&quot;relyingParty:SAMLMDRelyingPartyConfigurationManager&quot;<br>
&gt;<br>
&gt;                 depends-on=&quot;shibboleth.SAML1AttributeAuthority<br>
&gt;shibboleth.SAML2AttributeAuthority&quot;&gt;<br>
&gt;        &lt;srv:ConfigurationResource<br>
&gt;file=&quot;$IDP_CONIFG_HOME$/idp/relying-party.xml&quot;<br>
&gt;xsi:type=&quot;resource:FilesystemResource&quot;/&gt;<br>
&gt;    &lt;/srv:Service&gt;<br>
&gt;<br>
&gt;<br>
&gt;When we launch IdP, we make sure IDP_CONFIG_HOME has been set to<br>
&gt;environment variables. Then in the IdP code, I resolve $IDP_CONIFG_HOME$<br>
&gt;to translate to the real path.<br>
<br>
</div>I don&#39;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>