Modifier and Type | Field and Description |
---|---|
protected org.infinispan.Cache<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>> |
InfinispanUserSessionProvider.clientSessionCache |
protected org.infinispan.Cache<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>> |
InfinispanUserLoginFailureProvider.loginFailureCache |
protected org.infinispan.Cache<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>> |
InfinispanUserSessionProvider.offlineClientSessionCache |
protected org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> |
InfinispanUserSessionProvider.offlineSessionCache |
protected org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> |
InfinispanUserSessionProvider.sessionCache |
Modifier and Type | Method and Description |
---|---|
protected org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> |
InfinispanUserSessionProvider.getCache(boolean offline) |
protected org.infinispan.Cache<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>> |
InfinispanUserSessionProvider.getClientSessionCache(boolean offline) |
Modifier and Type | Method and Description |
---|---|
SessionEntityWrapper<S> |
SessionEntityWrapper.forTransport() |
static <S extends SessionEntity> |
SessionEntityWrapper.forTransport(S entity) |
SessionEntityWrapper<V> |
InfinispanChangelogBasedTransaction.get(K key) |
SessionEntityWrapper |
SessionEntityWrapper.ExternalizerImpl.readObject(ObjectInput input) |
Constructor and Description |
---|
InfinispanChangelogBasedTransaction(KeycloakSession kcSession,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
RemoteCacheInvoker remoteCacheInvoker,
BiFunction<RealmModel,V,Long> lifespanMsLoader,
BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader) |
Modifier and Type | Method and Description |
---|---|
SessionUpdateTask.CrossDCMessageStatus |
CrossDCLastSessionRefreshChecker.shouldSaveClientSessionToRemoteCache(KeycloakSession kcSession,
RealmModel realm,
SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper,
UserSessionModel userSession,
boolean offline,
int newTimestamp) |
SessionUpdateTask.CrossDCMessageStatus |
CrossDCLastSessionRefreshChecker.shouldSaveUserSessionToRemoteCache(KeycloakSession kcSession,
RealmModel realm,
SessionEntityWrapper<UserSessionEntity> sessionWrapper,
boolean offline,
int newLastSessionRefresh) |
Modifier and Type | Method and Description |
---|---|
CrossDCLastSessionRefreshStore |
CrossDCLastSessionRefreshStoreFactory.createAndInit(KeycloakSession kcSession,
org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache,
boolean offline) |
CrossDCLastSessionRefreshStore |
CrossDCLastSessionRefreshStoreFactory.createAndInit(KeycloakSession kcSession,
org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache,
long timerIntervalMs,
int maxIntervalBetweenMessagesSeconds,
int maxCount,
boolean offline) |
Constructor and Description |
---|
CrossDCLastSessionRefreshListener(KeycloakSession session,
org.infinispan.Cache<String,SessionEntityWrapper<UserSessionEntity>> cache,
boolean offline) |
Modifier and Type | Method and Description |
---|---|
SessionEntityWrapper |
UserSessionEntity.mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) |
SessionEntityWrapper |
SessionEntity.mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) |
SessionEntityWrapper |
AuthenticatedClientSessionEntity.mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) |
Modifier and Type | Method and Description |
---|---|
SessionEntityWrapper |
UserSessionEntity.mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) |
SessionEntityWrapper |
SessionEntity.mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) |
SessionEntityWrapper |
AuthenticatedClientSessionEntity.mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) |
Modifier and Type | Method and Description |
---|---|
<K,V extends SessionEntity> |
RemoteCacheInvoker.runTask(KeycloakSession kcSession,
RealmModel realm,
String cacheName,
K key,
MergedUpdate<V> task,
SessionEntityWrapper<V> sessionWrapper) |
Modifier and Type | Method and Description |
---|---|
static <K,V extends SessionEntity> |
RemoteCacheSessionListener.createListener(KeycloakSession session,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
org.infinispan.client.hotrod.RemoteCache<K,SessionEntityWrapper<V>> remoteCache,
BiFunction<RealmModel,V,Long> lifespanMsLoader,
BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader) |
static <K,V extends SessionEntity> |
RemoteCacheSessionListener.createListener(KeycloakSession session,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
org.infinispan.client.hotrod.RemoteCache<K,SessionEntityWrapper<V>> remoteCache,
BiFunction<RealmModel,V,Long> lifespanMsLoader,
BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader) |
protected void |
RemoteCacheSessionListener.init(KeycloakSession session,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
org.infinispan.client.hotrod.RemoteCache<K,SessionEntityWrapper<V>> remoteCache,
BiFunction<RealmModel,V,Long> lifespanMsLoader,
BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader) |
protected void |
RemoteCacheSessionListener.init(KeycloakSession session,
org.infinispan.Cache<K,SessionEntityWrapper<V>> cache,
org.infinispan.client.hotrod.RemoteCache<K,SessionEntityWrapper<V>> remoteCache,
BiFunction<RealmModel,V,Long> lifespanMsLoader,
BiFunction<RealmModel,V,Long> maxIdleTimeMsLoader) |
Modifier and Type | Method and Description |
---|---|
static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,Set<String>> |
Mappers.authClientSessionSetMapper() |
static Function<Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>>,AuthenticatedClientSessionEntity> |
Mappers.clientSessionEntity() |
static Function<Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>>,LoginFailureKey> |
Mappers.loginFailureId() |
static Function<Map.Entry<String,SessionEntityWrapper>,SessionEntity> |
Mappers.sessionEntity() |
static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,String> |
Mappers.sessionId() |
static Function<Map.Entry<String,SessionEntityWrapper>,Map.Entry<String,SessionEntity>> |
Mappers.unwrap() |
static Function<Map.Entry<String,SessionEntityWrapper<UserSessionEntity>>,UserSessionEntity> |
Mappers.userSessionEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
UserLoginFailurePredicate.test(Map.Entry<LoginFailureKey,SessionEntityWrapper<LoginFailureEntity>> entry) |
boolean |
SessionPredicate.test(Map.Entry<String,SessionEntityWrapper<S>> entry) |
boolean |
UserSessionPredicate.test(Map.Entry<String,SessionEntityWrapper<UserSessionEntity>> entry) |
boolean |
AuthenticatedClientSessionPredicate.test(Map.Entry<UUID,SessionEntityWrapper<AuthenticatedClientSessionEntity>> entry) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.