keycloak-scim/model/infinispan
mkrueger92 498be3d928
Reuse already fixed code to fetch offline user (#22429)
The problem is again the wrap(...) function.
In case the user is not found, then null is
returned. This can happen when a federated user
is deleted on the federation side but Keycloak
is not informed about it. In that case, the
session is still present but no UserModel can
be created.

Without this patch the stream contains null
values. Some downstream users can not cope well
with that.

The adjustment of the function getUserSessionsCount(...)
is slightly more expensive in execution, but
returns the correct number.

Closes #22428

Co-authored-by: Martin Krüger <mkrueger@mkru.de>
2023-09-21 20:19:09 +00:00
..
src Reuse already fixed code to fetch offline user (#22429) 2023-09-21 20:19:09 +00:00
pom.xml SAML Adapter fix for EAP8 and WF29 2023-09-07 13:32:25 +02:00