-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
-
saml-1.0.8
The periodic update of IDP Metadata appears to run every 10 seconds, regardless of the value specified in the period field.
I'm not a developer, but if I understood the logic correctly, the class variable scheduleedOnce will be initialised as false each time the UpdateMetadataFromURLPeriodicWork class is instantiated. This will cause getRecurrencePeriod to always return 10 seconds, which is consistent with what we see in our logs (pasted below).
Sep 10, 2018 4:50:21 AM INFO hudson.model.AsyncAperiodicWork$1 runStarted Update IdP Metadata from URL PeriodicWork Sep 10, 2018 4:50:21 AM INFO org.opensaml.core.config.InitializationService initializeInitializing OpenSAML using the Java Services API Sep 10, 2018 4:50:21 AM INFO hudson.model.AsyncAperiodicWork$1 runFinished Update IdP Metadata from URL PeriodicWork. 480 ms Sep 10, 2018 4:50:31 AM INFO hudson.model.AsyncAperiodicWork$1 runStarted Update IdP Metadata from URL PeriodicWork Sep 10, 2018 4:50:31 AM INFO org.opensaml.core.config.InitializationService initializeInitializing OpenSAML using the Java Services API Sep 10, 2018 4:50:31 AM INFO hudson.model.AsyncAperiodicWork$1 runFinished Update IdP Metadata from URL PeriodicWork. 310 ms Sep 10, 2018 4:50:41 AM INFO hudson.model.AsyncAperiodicWork$1 runStarted Update IdP Metadata from URL PeriodicWork Sep 10, 2018 4:50:41 AM INFO org.opensaml.core.config.InitializationService initializeInitializing OpenSAML using the Java Services API Sep 10, 2018 4:50:41 AM INFO hudson.model.AsyncAperiodicWork$1 runFinished Update IdP Metadata from URL PeriodicWork. 297 ms
The refresh period is set to 60 minutes.
- links to