Uses of Class
org.keycloak.models.sessions.infinispan.changes.SessionEntityWrapper
Package
Description
-
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan
Modifier and TypeFieldDescriptionprotected final org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> InfinispanUserSessionProvider.clientSessionCache
protected final org.infinispan.Cache<LoginFailureKey,
SessionEntityWrapper<LoginFailureEntity>> InfinispanUserLoginFailureProvider.loginFailureCache
protected final org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> InfinispanUserSessionProvider.offlineClientSessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.offlineSessionCache
protected final org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.sessionCache
Modifier and TypeMethodDescriptionprotected org.infinispan.Cache<String,
SessionEntityWrapper<UserSessionEntity>> InfinispanUserSessionProvider.getCache
(boolean offline) protected org.infinispan.Cache<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>> InfinispanUserSessionProvider.getClientSessionCache
(boolean offline) ModifierConstructorDescriptionInfinispanUserLoginFailureProvider
(KeycloakSession session, RemoteCacheInvoker remoteCacheInvoker, org.infinispan.Cache<LoginFailureKey, SessionEntityWrapper<LoginFailureEntity>> loginFailureCache) 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) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.changes
Modifier and TypeMethodDescriptionSessionEntityWrapper.forTransport()
static <S extends SessionEntity>
SessionEntityWrapper<S>SessionEntityWrapper.forTransport
(S entity) SessionEntityWrapper.ExternalizerImpl.readObject
(ObjectInput input) Modifier and TypeMethodDescriptionstatic <S extends SessionEntity>
MergedUpdate<S>MergedUpdate.computeUpdate
(List<SessionUpdateTask<S>> childUpdates, SessionEntityWrapper<S> sessionWrapper, long lifespanMs, long maxIdleTimeMs) ClientSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper) LoginFailuresUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<LoginFailureEntity> sessionWrapper) MergedUpdate.getCrossDCMessageStatus
(SessionEntityWrapper<S> sessionWrapper) SessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<S> sessionWrapper) UserSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) void
InfinispanChangelogBasedTransaction.reloadEntityInCurrentTransaction
(RealmModel realm, K key, SessionEntityWrapper<V> entity) void
SessionEntityWrapper.ExternalizerImpl.writeObject
(ObjectOutput output, SessionEntityWrapper obj) ModifierConstructorDescriptionInfinispanChangelogBasedTransaction
(KeycloakSession kcSession, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, RemoteCacheInvoker remoteCacheInvoker, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.changes.sessions
Modifier and TypeMethodDescriptionCrossDCLastSessionRefreshChecker.shouldSaveClientSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp) CrossDCLastSessionRefreshChecker.shouldSaveUserSessionToRemoteCache
(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh) 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) ModifierConstructorDescriptionCrossDCLastSessionRefreshListener
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.entities
Modifier and TypeMethodDescriptionAuthenticatedClientSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) SessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) UserSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) Modifier and TypeMethodDescriptionAuthenticatedClientSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) SessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) UserSessionEntity.mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.remotestore
Modifier and TypeMethodDescription<K,
V extends SessionEntity>
voidRemoteCacheInvoker.runTask
(KeycloakSession kcSession, RealmModel realm, String cacheName, K key, MergedUpdate<V> task, SessionEntityWrapper<V> sessionWrapper) Modifier and TypeMethodDescriptionstatic <K,
V extends SessionEntity>
RemoteCacheSessionListenerRemoteCacheSessionListener.createListener
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) static <K,
V extends SessionEntity>
RemoteCacheSessionListenerRemoteCacheSessionListener.createListener
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) protected void
RemoteCacheSessionListener.init
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) protected void
RemoteCacheSessionListener.init
(KeycloakSession session, org.infinispan.Cache<K, SessionEntityWrapper<V>> cache, org.infinispan.client.hotrod.RemoteCache<K, SessionEntityWrapper<V>> remoteCache, SessionFunction<V> lifespanMsLoader, SessionFunction<V> maxIdleTimeMsLoader) -
Uses of SessionEntityWrapper in org.keycloak.models.sessions.infinispan.stream
Modifier and TypeMethodDescriptionMappers.authClientSessionSetMapper()
static Function<Map.Entry<UUID,
SessionEntityWrapper<AuthenticatedClientSessionEntity>>, AuthenticatedClientSessionEntity> Mappers.clientSessionEntity()
static Function<Map.Entry<LoginFailureKey,
SessionEntityWrapper<LoginFailureEntity>>, LoginFailureKey> Mappers.loginFailureId()
Mappers.sessionEntity()
Mappers.sessionId()
Mappers.unwrap()
Mappers.userSessionEntity()
Modifier and TypeMethodDescriptionboolean
AuthenticatedClientSessionPredicate.test
(Map.Entry<UUID, SessionEntityWrapper<AuthenticatedClientSessionEntity>> entry) boolean
SessionPredicate.test
(Map.Entry<String, SessionEntityWrapper<S>> entry) boolean
UserLoginFailurePredicate.test
(Map.Entry<LoginFailureKey, SessionEntityWrapper<LoginFailureEntity>> entry) boolean
UserSessionPredicate.test
(Map.Entry<String, SessionEntityWrapper<UserSessionEntity>> entry)