<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 10/28/17 12:06 PM, Rod Widdowson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:007201d35006$c0310420$40930c60$@steadingsoftware.com">
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap="">
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
<a class="moz-txt-link-freetext" href="https://wiki.shibboleth.net/confluence/x/8YAOAQ">https://wiki.shibboleth.net/confluence/x/8YAOAQ</a>)
</pre>
</blockquote>
<br>
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.<br>
<br>
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.<br>
</body>
</html>