<div dir="ltr">Hi all,<div><br></div><div>I have set a breakpoint in the close() method of my UserFederationProvider instance, which is never invoked. I set a breakpoint in the getInstance() method of my factory, and traced the call to this line:</div><div><br></div><div><a href="https://github.com/keycloak/keycloak/blob/master/server-spi/src/main/java/org/keycloak/models/UserFederationManager.java#L146">https://github.com/keycloak/keycloak/blob/master/server-spi/src/main/java/org/keycloak/models/UserFederationManager.java#L146</a><br></div><div><br></div><div>No where in the stack trace between this line and line 422 of KeycloakModelUtils (where getInstance() is called) do I see the provider being stored for later use, such as calling the close() method.</div><div><br></div><div>Is this a bug or intended behavior?</div></div>