Add properties to discovery flow for adjust metadata resolver
Basics
Logistics
Basics
Logistics
Description
Environment
None
Activity
Show:
Henri Mikkonen March 12, 2021 at 10:40 AM
Added two configuration properties:
idp.oidc.config.minRefreshDelay: defaults to 5 min
idp.oidc.config.maxRefreshDelay: defaults to 4 hours
The properties are wired to the *shibboleth.oidc.DefaultOpenIdConfigurationResolver* bean, which is defined in the flow beans. This also means that the refreshing logic is started after the first request to the flow has been done: not during the IdP startup. One obvious option would be to move the bean together with its dependencies to postconfig.xml, but OTOH the beans are specific to this flow only.
We may want to add some properties to override bean settings, mainly the shibboleth.oidc.DefaultOpenIdConfigurationResolver bean. Mainly things like how the reload is handled as we do for metadata and such.