Reloading authn/mfa-authn-config.xml

Cantor, Scott cantor.2 at osu.edu
Thu Mar 18 18:31:14 UTC 2021


On 3/18/21, 2:16 PM, "users on behalf of Max Spicer via users" <users-bounces at shibboleth.net on behalf of users at shibboleth.net> wrote:

>    Is it possible to get IdP 4.0.1 to reload authn/mfa-authn-config.xml?

No. There is a "managed bean" service I added that implements a very ugly trick to allow some Spring beans to be reloaded by proxying them but it's very situational whether the reloading works since many beans are singletons and only injected with the proxied bean once anyay.

In practice it almost always means you're doing things wrong and should be using metadata or resolved attributes to drive behavior so whatever it is doesn't need to be reloaded.

For example, you can drive a script against an attribute, and use a script in the resolver to produce the attribute such that the script is reloadable because the resolver is.

-- Scott




More information about the users mailing list