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, UserSessionModel userSession, 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 TypeMethodDescriptionstatic UserSessionEntity
UserSessionEntity.create
(String id, RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId) static UserSessionEntity
UserSessionEntity.createFromModel
(UserSessionModel userSession) UserSessionEntity$___Marshaller_51a26c6f92d4ae144f154002222a7dda38f32646c2bdb513c5dc0fe1445db9d6.read
(org.infinispan.protostream.ProtobufTagMarshaller.ReadContext $1) Modifier and TypeMethodDescriptionUserSessionEntity$___Marshaller_51a26c6f92d4ae144f154002222a7dda38f32646c2bdb513c5dc0fe1445db9d6.getJavaClass()
Modifier and TypeMethodDescriptionstatic void
UserSessionEntity.updateSessionEntity
(UserSessionEntity entity, RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId) void
UserSessionEntity$___Marshaller_51a26c6f92d4ae144f154002222a7dda38f32646c2bdb513c5dc0fe1445db9d6.write
(org.infinispan.protostream.ProtobufTagMarshaller.WriteContext $1, UserSessionEntity $2) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.stream
Modifier and TypeMethodDescriptionMappers.authClientSessionSetMapper()
Mappers.userSessionEntity()
Mappers.userSessionEntity()
Modifier and TypeMethodDescriptionAuthClientSessionSetMapper.apply
(Map.Entry<String, SessionEntityWrapper<UserSessionEntity>> entry) boolean
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.