Extending the SP Dynamic Metadata Provider

Brent Putman putmanb at georgetown.edu
Mon Oct 30 17:17:41 EDT 2017



On 10/28/17 12:06 PM, Rod Widdowson wrote:
>> 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 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)

In the IdP dynamic providers there is a background thread that sweeps
the in-memory cache, and removes expired and idle entries.  Such entries
are removed from both the primary in-memory cache used to directly
service requests, and the persistent cache.

For the LocalDynamic- there is currently nothing that removes expired
entries from the source store.  The XMLObjectLoadSaveManager on which it
is based does support listing/traversal so it's probably do-able.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20171030/78329496/attachment.html>


More information about the dev mailing list