Uses of Class
org.keycloak.models.sessions.infinispan.entities.UserSessionEntity
Packages that use UserSessionEntity
Package
Description
-
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan
Fields in org.keycloak.models.sessions.infinispan with type parameters of type UserSessionEntityModifier 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
Methods in org.keycloak.models.sessions.infinispan that return UserSessionEntityMethods in org.keycloak.models.sessions.infinispan that return types with arguments of type UserSessionEntityModifier 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) Methods in org.keycloak.models.sessions.infinispan with parameters of type UserSessionEntityModifier 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) Constructors in org.keycloak.models.sessions.infinispan with parameters of type UserSessionEntityModifierConstructorDescriptionUserSessionAdapter
(KeycloakSession session, UserModel user, T provider, SessionsChangelogBasedTransaction<String, UserSessionEntity> userSessionUpdateTx, SessionsChangelogBasedTransaction<UUID, AuthenticatedClientSessionEntity> clientSessionUpdateTx, RealmModel realm, UserSessionEntity entity, boolean offline) Constructor parameters in org.keycloak.models.sessions.infinispan with type arguments of type UserSessionEntityModifierConstructorDescriptionInfinispanUserSessionProvider
(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
Methods in org.keycloak.models.sessions.infinispan.changes that return types with arguments of type UserSessionEntityModifier and TypeMethodDescriptionUserSessionPersistentChangelogBasedTransaction.get
(RealmModel realm, String key, UserSessionModel userSession, boolean offline) Methods in org.keycloak.models.sessions.infinispan.changes with parameters of type UserSessionEntityModifier and TypeMethodDescriptionvoid
ClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask.runUpdate
(UserSessionEntity session) Method parameters in org.keycloak.models.sessions.infinispan.changes with type arguments of type UserSessionEntityModifier and TypeMethodDescriptionClientSessionPersistentChangelogBasedTransaction.RegisterClientSessionTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) UserSessionUpdateTask.getCrossDCMessageStatus
(SessionEntityWrapper<UserSessionEntity> sessionWrapper) Constructor parameters in org.keycloak.models.sessions.infinispan.changes with type arguments of type UserSessionEntityModifierConstructorDescriptionUserSessionPersistentChangelogBasedTransaction
(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
Method parameters in org.keycloak.models.sessions.infinispan.changes.sessions with type arguments of type UserSessionEntityModifier 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) Constructor parameters in org.keycloak.models.sessions.infinispan.changes.sessions with type arguments of type UserSessionEntityModifierConstructorDescriptionCrossDCLastSessionRefreshListener
(KeycloakSession session, org.infinispan.Cache<String, SessionEntityWrapper<UserSessionEntity>> cache, boolean offline) -
Uses of UserSessionEntity in org.keycloak.models.sessions.infinispan.entities
Methods in org.keycloak.models.sessions.infinispan.entities that return UserSessionEntityModifier 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) Methods in org.keycloak.models.sessions.infinispan.entities that return types with arguments of type UserSessionEntityModifier and TypeMethodDescriptionUserSessionEntity$___Marshaller_51a26c6f92d4ae144f154002222a7dda38f32646c2bdb513c5dc0fe1445db9d6.getJavaClass()
Methods in org.keycloak.models.sessions.infinispan.entities with parameters of type UserSessionEntityModifier 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
Methods in org.keycloak.models.sessions.infinispan.stream that return types with arguments of type UserSessionEntityModifier and TypeMethodDescriptionMappers.authClientSessionSetMapper()
Mappers.userSessionEntity()
Mappers.userSessionEntity()
Method parameters in org.keycloak.models.sessions.infinispan.stream with type arguments of type UserSessionEntityModifier 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
Methods in org.keycloak.models.sessions.infinispan.util with parameters of type UserSessionEntityModifier 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.