Shibboleth FileBackedHTTPMetadataProvider

Brent Putman putmanb at georgetown.edu
Wed Mar 30 17:19:15 EDT 2016



On 3/29/16 5:15 PM, Tom Scavo wrote:
>
> I added some material on the backing file to the wiki:
> https://wiki.shibboleth.net/confluence/x/kQInAQ

Sorry that I did not get to this thread sooner, I was otherwise
occupied.  I was/am unclear whether Scott's and Rod's comments are
about the SP or the IDP or both.  But based on the other longish note I
just sent, what you put in the IDP30 space is incorrect. The backing
file is not only used at startup.  It's used anytime the HTTP GET
fails.  The code that consumes the output of the fetchMetadat()
operation does not know from where the data came, it's completely
transparent to the caller.

The idea of at startup time loading first from the backing file, for
efficiency, and then letting the regular refresh process kick off to do
HTTP fetch is an interesting one.  I would have to look and see whether
that is easy or hard.  The code is already very complicated, and
special casing the startup would be at best need to be carefully done. 
It might also require some API additions or changes to accomplish.

This thread has gotten convoluted, and I'm not sure where else to jump
in.  But this is how the Java side works.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20160330/aeb907b6/attachment.html>


More information about the dev mailing list