Extending the SP Dynamic Metadata Provider
Rod Widdowson
rdw at steadingsoftware.com
Sat Oct 28 12:06:44 EDT 2017
> Yes, good point. Which reminds me, does the dynamic provider remove
> expired metadata it finds in the directory? If so, does it do lazy
> removal (as expired entities are accessed) or a periodic sweep of the
> directory or something else?
If you are speaking of the SP, right now that is the file:/// thing and no it does nothing. I rather feel that it shouldn't -it
doesn't populate it so it shouldn't delete the files. I don't know whether having found an expired entity it stops dead or carries
on down the chain, but I would rather explain the latter.
If you are speaking of the IdP and its LocalDynamicMetadataProvider then I think that the same is true.
If you are speaking of caching then the IdP does a sweep through (see the documentation for the cleanupTaskInterval in
https://wiki.shibboleth.net/confluence/x/8YAOAQ)
The SP currently doesn't currently cache, but I suspect that I would model its behavior on the IdP.
Rod
More information about the dev
mailing list