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 org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> PersistentUserSessionProvider.offlineSessionCache
protected final InfinispanChangelogBasedTransaction<String,
UserSessionEntity> InfinispanUserSessionProvider.offlineSessionTx
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.sessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> PersistentUserSessionProvider.sessionCache
protected final InfinispanChangelogBasedTransaction<String,
UserSessionEntity> InfinispanUserSessionProvider.sessionTx
Modifier and TypeMethodDescriptionprotected org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.getCache
(boolean offline) protected org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> PersistentUserSessionProvider.getCache
(boolean offline) InfinispanUserSessionProvider.getTransaction
(boolean offline) PersistentUserSessionProvider.importUserSession
(UserSessionModel persistentUserSession, boolean offline) PersistentUserSessionProvider.wrapPersistentEntity
(RealmModel realm, boolean offline, UserSessionModel persistentUserSession) Modifier and TypeMethodDescriptionprotected Long
InfinispanUserSessionProviderFactory.deriveOfflineSessionCacheEntryLifespanMs
(RealmModel realm, ClientModel client, UserSessionEntity entity) protected void
InfinispanUserSessionProvider.removeUserSession
(UserSessionEntity sessionEntity, boolean offline) protected void
PersistentUserSessionProvider.removeUserSession
(UserSessionEntity sessionEntity, boolean offline) ModifierConstructorDescriptionUserSessionAdapter
(KeycloakSession session, UserModel user, T provider, SessionsChangelogBasedTransaction<String, UserSessionEntity> userSessionUpdateTx, SessionsChangelogBasedTransaction<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, SessionFunction<UserSessionEntity> offlineSessionCacheEntryLifespanAdjuster, SessionFunction<AuthenticatedClientSessionEntity> offlineClientSessionCacheEntryLifespanAdjuster, SerializeExecutionsByKey<String> serializerSession, SerializeExecutionsByKey<String> serializerOfflineSession, SerializeExecutionsByKey<UUID> serializerClientSession, SerializeExecutionsByKey<UUID> serializerOfflineClientSession) 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, SessionFunction<UserSessionEntity> offlineSessionCacheEntryLifespanAdjuster, SessionFunction<AuthenticatedClientSessionEntity> offlineClientSessionCacheEntryLifespanAdjuster, SerializeExecutionsByKey<String> serializerSession, SerializeExecutionsByKey<String> serializerOfflineSession, SerializeExecutionsByKey<UUID> serializerClientSession, SerializeExecutionsByKey<UUID> serializerOfflineClientSession) PersistentUserSessionProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, CrossDCLastSessionRefreshStore lastSessionRefreshStore, CrossDCLastSessionRefreshStore offlineLastSessionRefreshStore, 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, ArrayBlockingQueue<PersistentUpdate> asyncQueuePersistentUpdate, SerializeExecutionsByKey<String> serializerSession, SerializeExecutionsByKey<String> serializerOfflineSession, SerializeExecutionsByKey<UUID> serializerClientSession, SerializeExecutionsByKey<UUID> serializerOfflineClientSession) UserSessionAdapter
(KeycloakSession session, UserModel user, T provider, SessionsChangelogBasedTransaction<String, UserSessionEntity> userSessionUpdateTx, SessionsChangelogBasedTransaction<UUID, AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.changes
Modifier and TypeMethodDescriptionUserSessionPersistentChangelogBasedTransaction.get
(RealmModel realm, String key, boolean offline) Modifier and TypeMethodDescriptionvoid
ClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask.runUpdate
(UserSessionEntity session) Modifier and TypeMethodDescriptionClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) UserSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) ModifierConstructorDescriptionUserSessionPersistentChangelogBasedTransaction
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<UserSessionEntity> lifespanMsLoader, SessionFunction<UserSessionEntity> maxIdleTimeMsLoader, SessionFunction<UserSessionEntity> offlineLifespanMsLoader, SessionFunction<UserSessionEntity> offlineMaxIdleTimeMsLoader, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<String> serializerOnline, SerializeExecutionsByKey<String> serializerOffline) UserSessionPersistentChangelogBasedTransaction
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> offlineCache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<UserSessionEntity> lifespanMsLoader, SessionFunction<UserSessionEntity> maxIdleTimeMsLoader, SessionFunction<UserSessionEntity> offlineLifespanMsLoader, SessionFunction<UserSessionEntity> offlineMaxIdleTimeMsLoader, ArrayBlockingQueue<PersistentUpdate> batchingQueue, SerializeExecutionsByKey<String> serializerOnline, SerializeExecutionsByKey<String> serializerOffline) -
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.userSessionEntity()
Mappers.userSessionEntity()
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.