public abstract class AbstractLastSessionRefreshStore extends Object
Modifier | Constructor and Description |
---|---|
protected |
AbstractLastSessionRefreshStore(int maxIntervalBetweenMessagesSeconds,
int maxCount) |
Modifier and Type | Method and Description |
---|---|
void |
putLastSessionRefresh(KeycloakSession kcSession,
String sessionId,
String realmId,
int lastSessionRefresh) |
void |
reset() |
protected abstract void |
sendMessage(KeycloakSession kcSession,
Map<String,SessionData> refreshesToSend)
Bulk update the underlying store with all the user sessions, which were refreshed by Keycloak since the last call of this method
|
protected AbstractLastSessionRefreshStore(int maxIntervalBetweenMessagesSeconds, int maxCount)
public void putLastSessionRefresh(KeycloakSession kcSession, String sessionId, String realmId, int lastSessionRefresh)
public void reset()
protected abstract void sendMessage(KeycloakSession kcSession, Map<String,SessionData> refreshesToSend)
kcSession
- refreshesToSend
- Key is userSession ID, SessionData are data about the sessionCopyright © 2020 JBoss by Red Hat. All rights reserved.