keycloak-scim/model
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
..
build-processor File store freeze 2023-05-16 12:03:59 +02:00
infinispan Reuse already fixed code to fetch offline user (#22429) 2023-09-21 20:19:09 +00:00
jpa Calling getTopLevelGroups is slow inside GroupLDAPStorageMapper#getLDAPGroupMappingsConverted (#8430) 2023-09-20 17:20:43 +02:00
legacy
legacy-private Calling getTopLevelGroups is slow inside GroupLDAPStorageMapper#getLDAPGroupMappingsConverted (#8430) 2023-09-20 17:20:43 +02:00
legacy-services
map Calling getTopLevelGroups is slow inside GroupLDAPStorageMapper#getLDAPGroupMappingsConverted (#8430) 2023-09-20 17:20:43 +02:00
map-file
map-hot-rod
map-jpa
map-ldap
pom.xml