Loading URLTemplate URL from a Separate XML File

Joshua Brodie josbrodie at gmail.com
Tue Jun 23 18:34:14 UTC 2020


>By putting it in a properties file and referencing it as above?

I was looking for a way where the file can be loaded dynamically - similar
to attribute-resolver.xml (including the URL that will be mapped to the
URLTemplate).

I can do so for XML files - but I wasn't sure if
'%{idp.attribute.resolver.cdata.url}'
can be loaded from XML file, and dynamically -- or if there could be other
options.

On Tue, 23 Jun 2020 at 01:22, Peter Schober <peter.schober at univie.ac.at>
wrote:

> * Joshua Brodie <josbrodie at gmail.com> [2020-06-23 05:13]:
> > I would like to load the URL in CDATA below in a separate XML file loaded
> > with the 'attribute-resolver.xml'. As the URL can change -- but don't
> want
> > to have it in the 'attribute-resolver.xml' (to simplify the promotion
> > between environments).
> >
> > If it is a properties file, I can do something like this -
> > <URLTemplate>%{idp.attribute.resolver.cdata.url}</URLTemplate> and in
> > properties file have it as 'idp.attribute.resolver.cdata.url =
> > https://grouper-ws.
> > <
> https://grouper-ws.service.osu.edu/gms-ws/servicesRest/v2.3.000/subjects/#if($IDMUID
> >
> > example.com'
> >
> > How would I do above -- where it is an XML file where the URL is
> maintained?
>
> By putting it in a properties file and referencing it as above?
>
> -peter
> --
> For Consortium Member technical support, see
> https://wiki.shibboleth.net/confluence/x/coFAAg
> 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/20200623/b26bfdec/attachment.htm>


More information about the users mailing list