Class ImmutableSession

java.lang.Object
org.keycloak.models.sessions.infinispan.ImmutableSession

public final class ImmutableSession extends Object
Helper class to map a list of user and client sessions, from Infinispan caches, into an immutable session.

It copies the data to a new instance to prevent observing changes made by other threads to the underlying cached instances.