498be3d928
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> |
||
---|---|---|
.. | ||
build-processor | ||
infinispan | ||
jpa | ||
legacy | ||
legacy-private | ||
legacy-services | ||
map | ||
map-file | ||
map-hot-rod | ||
map-jpa | ||
map-ldap | ||
pom.xml |