keycloak-scim/rest/admin-ui-ext
Thomas Darimont d28adcb81b
Avoid NPE if realm configuration contains invalid required action configuration (#32649)
* Avoid NPE if realm configuration contains invalid required action configuration

If users removed implementations or renamed the provider id of a required action, then the realm configuration might contain dangling references to required actions.
If we then try to find the RequiredActionFactory to determine the if the required action is configurable then NPE is thrown. This PR prevents the NPE with a guard clause.

Fixes #32624

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>

* Log a warning if required action with missing provider is detected.

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>

---------

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-09-04 15:04:58 -04:00
..
src/main Avoid NPE if realm configuration contains invalid required action configuration (#32649) 2024-09-04 15:04:58 -04:00
pom.xml @NoCache is not considered anymore 2024-01-02 09:06:55 -03:00