Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid NPE if realm configuration contains invalid required action con…
…figuration (keycloak#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 keycloak#32624 Signed-off-by: Thomas Darimont <[email protected]> * Log a warning if required action with missing provider is detected. Signed-off-by: Thomas Darimont <[email protected]> --------- Signed-off-by: Thomas Darimont <[email protected]>
- Loading branch information