Logout when user session it not found
Description
Some tests in org.keycloak.benchmark.crossdc.LoginLogoutTest are disabled for the external Infinispan feature because they delete the user session from the external Infinispan.
When the logout endpoint tries to find the user session for validation, it fails and performs no other operation.
I want to propose adding a new method in UserSessionProvider. Something like removeInexistentUserSession(Realm realm, String id, boolean offline) where it is possible to regenerate the Infinispan key and invoke the cache.remove(). The removal will be replicated across sites.
Currently, there is no way to retrieve the AuthenticatedClientSessionEntity and they will stay in the caches...
Discussion
No response
Motivation
No response
Details
No response
TODO: remove the test case as it isn't relevant for the new A/A setup