Class MapRootAuthenticationSessionAdapter
java.lang.Object
org.keycloak.models.map.authSession.AbstractRootAuthenticationSessionModel<MapRootAuthenticationSessionEntity>
org.keycloak.models.map.authSession.MapRootAuthenticationSessionAdapter
- All Implemented Interfaces:
RootAuthenticationSessionModel
public class MapRootAuthenticationSessionAdapter
extends AbstractRootAuthenticationSessionModel<MapRootAuthenticationSessionEntity>
- Author:
- Martin Kanis
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.sessions.RootAuthenticationSessionModel
RootAuthenticationSessionModel.SearchableFields -
Field Summary
Fields inherited from class org.keycloak.models.map.authSession.AbstractRootAuthenticationSessionModel
entity, realm, session -
Constructor Summary
ConstructorsConstructorDescriptionMapRootAuthenticationSessionAdapter(KeycloakSession session, RealmModel realm, MapRootAuthenticationSessionEntity entity, int authSessionsLimit) -
Method Summary
Modifier and TypeMethodDescriptiongetAuthenticationSession(ClientModel client, String tabId) getId()getRealm()intvoidvoidrestartSession(RealmModel realm) voidsetTimestamp(int timestamp) Methods inherited from class org.keycloak.models.map.authSession.AbstractRootAuthenticationSessionModel
equals, hashCode
-
Constructor Details
-
MapRootAuthenticationSessionAdapter
public MapRootAuthenticationSessionAdapter(KeycloakSession session, RealmModel realm, MapRootAuthenticationSessionEntity entity, int authSessionsLimit)
-
-
Method Details
-
getId
-
getRealm
-
getTimestamp
public int getTimestamp() -
setTimestamp
public void setTimestamp(int timestamp) -
getAuthenticationSessions
-
getAuthenticationSession
-
createAuthenticationSession
-
removeAuthenticationSessionByTabId
-
restartSession
-