How to change relying-party.xml config location dynamically
Yaowen Tu
yaowen.tu at gmail.com
Wed Jul 24 16:55:09 EDT 2013
Thanks Scott and Paul. I just got to build a simple plugin that does the
placeholder work. It is not that difficult actually.
Yaowen
On Tue, Jul 23, 2013 at 5:33 PM, Cantor, Scott <cantor.2 at osu.edu> wrote:
> On 7/23/13 8:21 PM, "Yaowen Tu" <yaowen.tu at gmail.com> wrote:
>
> >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.
>
> No, I'm saying you need to write a plugin implementing a new type of
> ConfigurationResource, like any other Spring extension.
>
> You should not patch existing code to do this. That won't be maintainable,
> at least while 2.x is supported.
>
> And no, there is no place to do it. Every resource plugin type implements
> its own syntax and logic, there's no single place to change behavior, and
> it wouldn't even make sense since not all of them are file system paths
> anyway.
>
> >So can anyone give me some hint about where it is?
>
> I told you, the existing plugins for that interface are in the resource
> subpackage in shibboleth-common. Using those to create your own in a new
> extension jar should do what you need.
>
> I thought for some reason you had done some work on a custom login handler
> so were familiar with extensions. If you haven't written any extensions,
> then you're going to have to learn a lot to do that, I can't really do
> more than point to the wiki and the contributions people have made that
> implement plugins for other APIs.
>
> Please use the dev list for further questions about this.
>
> -- Scott
>
>
> --
> To unsubscribe from this list send an email to
> users-unsubscribe at shibboleth.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130724/da4786ab/attachment.html
More information about the users
mailing list