<div dir="ltr">Thanks Scott and Paul. I just got to build a simple plugin that does the placeholder work. It is not that difficult actually.<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:33 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 class="im">On 7/23/13 8:21 PM, "Yaowen Tu" <<a href="mailto:yaowen.tu@gmail.com">yaowen.tu@gmail.com</a>> wrote:<br>
<br>
>I hope it is better to change the source code directly, because most<br>
>likely it will be a generic place, once I change it, the same place<br>
>holder can be applied to any ConfigurationResource values that defined in<br>
>other places.<br>
<br>
</div>No, I'm saying you need to write a plugin implementing a new type of<br>
ConfigurationResource, like any other Spring extension.<br>
<br>
You should not patch existing code to do this. That won't be maintainable,<br>
at least while 2.x is supported.<br>
<br>
And no, there is no place to do it. Every resource plugin type implements<br>
its own syntax and logic, there's no single place to change behavior, and<br>
it wouldn't even make sense since not all of them are file system paths<br>
anyway.<br>
<div class="im"><br>
>So can anyone give me some hint about where it is?<br>
<br>
</div>I told you, the existing plugins for that interface are in the resource<br>
subpackage in shibboleth-common. Using those to create your own in a new<br>
extension jar should do what you need.<br>
<br>
I thought for some reason you had done some work on a custom login handler<br>
so were familiar with extensions. If you haven't written any extensions,<br>
then you're going to have to learn a lot to do that, I can't really do<br>
more than point to the wiki and the contributions people have made that<br>
implement plugins for other APIs.<br>
<br>
Please use the dev list for further questions about this.<br>
<div class="HOEnZb"><div class="h5"><br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</div></div></blockquote></div><br></div>