LocalMetadata SAMLtest transition issue

Nate Klingenstein ndk at signet.id
Tue Mar 19 12:46:53 EDT 2019


> You're mistaking "you reloaded the whole system" for "you commented out an unrelated plugin". The resolver caches failed lookups, and if you have the intervals set too large, then it takes a long time to recover from a 404 and see a new metadata file.

You're correct.  Since people often tweak or replace their metadata while testing without changing the entityID, I changed the default 8H interval by adding attributes to the LocalDynamic metadata provider that make the caching very short:

    <MetadataProvider id="SAMLtestFolder" xsi:type="LocalDynamicMetadataProvider" sourceDirectory="/home/mdupload" minCacheDuration="PT20S" maxCacheDuration="PT30S" cleanupTaskInterval="PT45S"/>

This appears to work and has resolved a number of disparate issues that people were encountering.  Thank you for the help and do correct me if I've got anything else confused.


More information about the users mailing list