Uses of Class
org.keycloak.models.sessions.infinispan.entities.UserSessionEntity
Package
Description
-
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan
Modifier and TypeFieldDescriptionprotected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.offlineSessionCache
protected final InfinispanChangelogBasedTransaction<String,
UserSessionEntity> InfinispanUserSessionProvider.offlineSessionTx
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.sessionCache
protected final InfinispanChangelogBasedTransaction<String,
UserSessionEntity> InfinispanUserSessionProvider.sessionTx
Modifier and TypeMethodDescriptionprotected org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.getCache
(boolean offline) InfinispanUserSessionProvider.getTransaction
(boolean offline) Modifier and TypeMethodDescriptionprotected Long
InfinispanUserSessionProviderFactory.deriveOfflineSessionCacheEntryLifespanMs
(RealmModel realm, ClientModel client, UserSessionEntity entity) protected void
InfinispanUserSessionProvider.removeUserSession
(UserSessionEntity sessionEntity, boolean offline) ModifierConstructorDescriptionUserSessionAdapter
(KeycloakSession session, UserModel user, InfinispanUserSessionProvider provider, InfinispanChangelogBasedTransaction<String, UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID, AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline) ModifierConstructorDescriptionInfinispanUserSessionProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, CrossDCLastSessionRefreshStore lastSessionRefreshStore, CrossDCLastSessionRefreshStore offlineLastSessionRefreshStore, PersisterLastSessionRefreshStore persisterLastSessionRefreshStore, InfinispanKeyGenerator keyGenerator, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> sessionCache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> clientSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineClientSessionCache, boolean loadOfflineSessionsFromDatabase, SessionFunction<UserSessionEntity> offlineSessionCacheEntryLifespanAdjuster, SessionFunction<AuthenticatedClientSessionEntity> offlineClientSessionCacheEntryLifespanAdjuster) InfinispanUserSessionProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, CrossDCLastSessionRefreshStore lastSessionRefreshStore, CrossDCLastSessionRefreshStore offlineLastSessionRefreshStore, PersisterLastSessionRefreshStore persisterLastSessionRefreshStore, InfinispanKeyGenerator keyGenerator, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> sessionCache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> clientSessionCache, org.infinispan.Cache<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> offlineClientSessionCache, boolean loadOfflineSessionsFromDatabase, SessionFunction<UserSessionEntity> offlineSessionCacheEntryLifespanAdjuster, SessionFunction<AuthenticatedClientSessionEntity> offlineClientSessionCacheEntryLifespanAdjuster) UserSessionAdapter
(KeycloakSession session, UserModel user, InfinispanUserSessionProvider provider, InfinispanChangelogBasedTransaction<String, UserSessionEntity> userSessionUpdateTx, InfinispanChangelogBasedTransaction<UUID, AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.changes
Modifier and TypeMethodDescriptionUserSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.changes.sessions
Modifier and TypeMethodDescriptionCrossDCLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) CrossDCLastSessionRefreshStoreFactory.createAndInit
(KeycloakSession kcSession, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, long timerIntervalMs, int maxIntervalBetweenMessagesSeconds, int maxCount, boolean offline) CrossDCLastSessionRefreshChecker.shouldSaveUserSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh) ModifierConstructorDescriptionCrossDCLastSessionRefreshListener
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.entities
Modifier and TypeMethodDescriptionUserSessionEntity.ExternalizerImpl.readObject
(ObjectInput input) UserSessionEntity.ExternalizerImpl.readObjectVersion1
(ObjectInput input) Modifier and TypeMethodDescriptionvoid
UserSessionEntity.ExternalizerImpl.writeObject
(ObjectOutput output, UserSessionEntity session) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.stream
Modifier and TypeMethodDescriptionMappers.authClientSessionSetMapper()
Mappers.sessionId()
Mappers.userSessionEntity()
Mappers.userSessionEntity()
static Comparator<UserSessionEntity>
Comparators.userSessionLastSessionRefresh()
Modifier and TypeMethodDescriptionboolean
UserSessionPredicate.test
(Map.Entry<String, SessionEntityWrapper<UserSessionEntity>> entry) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.util
Modifier and TypeMethodDescriptionstatic long
SessionTimeouts.getOfflineSessionLifespanMs
(RealmModel realm, ClientModel client, UserSessionEntity userSessionEntity) Get the maximum lifespan, which this offline userSession can remain in the infinispan cache.static long
SessionTimeouts.getOfflineSessionMaxIdleMs
(RealmModel realm, ClientModel client, UserSessionEntity userSessionEntity) Get the maximum idle time for this offline userSession.static long
SessionTimeouts.getUserSessionLifespanMs
(RealmModel realm, ClientModel client, UserSessionEntity userSessionEntity) Get the maximum lifespan, which this userSession can remain in the infinispan cache.static long
SessionTimeouts.getUserSessionMaxIdleMs
(RealmModel realm, ClientModel client, UserSessionEntity userSessionEntity) Get the maximum idle time for this userSession.