keycloak-scim/rest/admin-ui-ext/src/main
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
..
java/org/keycloak/admin/ui/rest Avoid NPE if realm configuration contains invalid required action configuration (#32649) 2024-09-04 15:04:58 -04:00
resources/META-INF Move Admin REST extension to main repository (#16530) 2023-01-19 13:06:21 +01:00