Class CrossDCLastSessionRefreshChecker
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.changes.sessions.CrossDCLastSessionRefreshChecker
-
public class CrossDCLastSessionRefreshChecker extends Object
- Author:
- Marek Posolda
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description CrossDCLastSessionRefreshChecker(CrossDCLastSessionRefreshStore store, CrossDCLastSessionRefreshStore offlineStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionUpdateTask.CrossDCMessageStatus
shouldSaveClientSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp)
SessionUpdateTask.CrossDCMessageStatus
shouldSaveUserSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh)
-
-
-
Constructor Detail
-
CrossDCLastSessionRefreshChecker
public CrossDCLastSessionRefreshChecker(CrossDCLastSessionRefreshStore store, CrossDCLastSessionRefreshStore offlineStore)
-
-
Method Detail
-
shouldSaveUserSessionToRemoteCache
public SessionUpdateTask.CrossDCMessageStatus shouldSaveUserSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<UserSessionEntity> sessionWrapper, boolean offline, int newLastSessionRefresh)
-
shouldSaveClientSessionToRemoteCache
public SessionUpdateTask.CrossDCMessageStatus shouldSaveClientSessionToRemoteCache(KeycloakSession kcSession, RealmModel realm, SessionEntityWrapper<AuthenticatedClientSessionEntity> sessionWrapper, UserSessionModel userSession, boolean offline, int newTimestamp)
-
-