preloading high-value entity metadata

Rod Widdowson rdw at steadingsoftware.com
Wed May 16 12:39:56 EDT 2018


> I thought it already did all that, that was one of the features identified by the original InCommon WG, the ability to back up the
query
> results and reload them up front to prime the cache. I admittedly don't know how to configure it. Maybe it got missed or just
wasn't
> documented.
> 

If I follow this thread (I've been elsewhere) you need the
	persistentCacheManagerRef
	persistentCacheManagerDirectory
	persistentCacheKeyGeneratorRef
	initializeFromPersistentCacheInBackground
	initializationFromCachePredicateRef
	backgroundInitializationFromCacheDelay

attributes.  As per [1].  This gives you control of how, where, and what is cached and what and when is reloaded.

See [2]


[1]
https://wiki.shibboleth.net/confluence/display/IDP30/MetadataConfiguration#MetadataConfiguration-DynamicAttributesDynamicAttributes

[2]
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=blob_plain;f=idp-profile-spring/src/test/resources/net/shibboleth/idp
/profile/spring/relyingparty/metadata/dynamicPersistentCacheDirectory.xml;h=44ef5a0c77ce28905f6ef7d74b8d23574f27a0d1;hb=HEAD



More information about the dev mailing list