Class UserSessionEntity
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.entities.SessionEntity
-
- org.keycloak.models.sessions.infinispan.entities.UserSessionEntity
-
- All Implemented Interfaces:
Serializable
@SerializeWith(ExternalizerImpl.class) public class UserSessionEntity extends SessionEntity
- Author:
- Stian Thorgersen
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UserSessionEntity.ExternalizerImpl
-
Field Summary
Fields Modifier and Type Field Description static String
LAST_SESSION_REFRESH_REMOTE
static org.jboss.logging.Logger
logger
-
Constructor Summary
Constructors Constructor Description UserSessionEntity()
-
Method Summary
-
Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity
getRealmId, setRealmId
-
-
-
-
Field Detail
-
logger
public static final org.jboss.logging.Logger logger
-
LAST_SESSION_REFRESH_REMOTE
public static final String LAST_SESSION_REFRESH_REMOTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUser
public String getUser()
-
setUser
public void setUser(String user)
-
getLoginUsername
public String getLoginUsername()
-
setLoginUsername
public void setLoginUsername(String loginUsername)
-
getIpAddress
public String getIpAddress()
-
setIpAddress
public void setIpAddress(String ipAddress)
-
getAuthMethod
public String getAuthMethod()
-
setAuthMethod
public void setAuthMethod(String authMethod)
-
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)
-
getAuthenticatedClientSessions
public AuthenticatedClientSessionStore getAuthenticatedClientSessions()
-
setAuthenticatedClientSessions
public void setAuthenticatedClientSessions(AuthenticatedClientSessionStore authenticatedClientSessions)
-
getState
public UserSessionModel.State getState()
-
setState
public void setState(UserSessionModel.State state)
-
getBrokerSessionId
public String getBrokerSessionId()
-
setBrokerSessionId
public void setBrokerSessionId(String brokerSessionId)
-
getBrokerUserId
public String getBrokerUserId()
-
setBrokerUserId
public void setBrokerUserId(String brokerUserId)
-
equals
public boolean equals(Object o)
- Specified by:
equals
in classSessionEntity
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classSessionEntity
-
mergeRemoteEntityWithLocalEntity
public SessionEntityWrapper mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper)
- Overrides:
mergeRemoteEntityWithLocalEntity
in classSessionEntity
-
-