Class UserSessionEntity
java.lang.Object
org.keycloak.models.sessions.infinispan.entities.SessionEntity
org.keycloak.models.sessions.infinispan.entities.UserSessionEntity
- All Implemented Interfaces:
Serializable
- Author:
- Stian Thorgersen
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
getNotes()
int
getState()
getUser()
int
hashCode()
boolean
mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) void
setAuthenticatedClientSessions
(AuthenticatedClientSessionStore authenticatedClientSessions) void
setAuthMethod
(String authMethod) void
setBrokerSessionId
(String brokerSessionId) void
setBrokerUserId
(String brokerUserId) void
setIpAddress
(String ipAddress) void
setLastSessionRefresh
(int lastSessionRefresh) void
setLoginUsername
(String loginUsername) void
void
setRememberMe
(boolean rememberMe) void
setStarted
(int started) void
setState
(UserSessionModel.State state) void
toString()
Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity
getRealmId, isOffline, setOffline, setRealmId
-
Field Details
-
logger
public static final org.jboss.logging.Logger logger -
LAST_SESSION_REFRESH_REMOTE
- See Also:
-
-
Constructor Details
-
UserSessionEntity
-
-
Method Details
-
getId
-
getUser
-
setUser
-
getLoginUsername
-
setLoginUsername
-
getIpAddress
-
setIpAddress
-
getAuthMethod
-
setAuthMethod
-
isRememberMe
public boolean isRememberMe() -
setRememberMe
public void setRememberMe(boolean rememberMe) -
getStarted
public int getStarted() -
setStarted
public void setStarted(int started) -
getLastSessionRefresh
public int getLastSessionRefresh() -
setLastSessionRefresh
public void setLastSessionRefresh(int lastSessionRefresh) -
getNotes
-
setNotes
-
getAuthenticatedClientSessions
-
setAuthenticatedClientSessions
public void setAuthenticatedClientSessions(AuthenticatedClientSessionStore authenticatedClientSessions) -
getState
-
setState
-
getBrokerSessionId
-
setBrokerSessionId
-
getBrokerUserId
-
setBrokerUserId
-
equals
- Specified by:
equals
in classSessionEntity
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSessionEntity
-
toString
-
mergeRemoteEntityWithLocalEntity
public SessionEntityWrapper mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) - Overrides:
mergeRemoteEntityWithLocalEntity
in classSessionEntity
-