Class MapUserSessionEntityImpl.Empty
- java.lang.Object
-
- org.keycloak.models.map.common.UpdatableEntity.Impl
-
- org.keycloak.models.map.userSession.MapUserSessionEntity.AbstractUserSessionEntity
-
- org.keycloak.models.map.userSession.MapUserSessionEntityImpl.Empty
-
- All Implemented Interfaces:
AbstractEntity,UpdatableEntity,MapUserSessionEntity
- Enclosing class:
- MapUserSessionEntityImpl
public static class MapUserSessionEntityImpl.Empty extends MapUserSessionEntity.AbstractUserSessionEntity implements MapUserSessionEntity
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.userSession.MapUserSessionEntity
MapUserSessionEntity.AbstractUserSessionEntity
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Field Summary
Fields Modifier and Type Field Description static MapUserSessionEntityImpl.EmptyINSTANCE-
Fields inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
updated
-
-
Constructor Summary
Constructors Constructor Description Empty()
-
Method Summary
-
Methods inherited from class org.keycloak.models.map.common.UpdatableEntity.Impl
clearUpdatedFlag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag
-
-
-
-
Field Detail
-
INSTANCE
public static final MapUserSessionEntityImpl.Empty INSTANCE
-
-
Method Detail
-
setId
public void setId(String id)
- Specified by:
setIdin interfaceAbstractEntity- Overrides:
setIdin classMapUserSessionEntity.AbstractUserSessionEntity
-
getId
public String getId()
- Specified by:
getIdin interfaceAbstractEntity- Overrides:
getIdin classMapUserSessionEntity.AbstractUserSessionEntity
-
setAuthMethod
public void setAuthMethod(String authMethod)
- Specified by:
setAuthMethodin interfaceMapUserSessionEntity
-
getAuthMethod
public String getAuthMethod()
- Specified by:
getAuthMethodin interfaceMapUserSessionEntity
-
setAuthenticatedClientSession
public void setAuthenticatedClientSession(String clientUUID, String clientSessionId)
- Specified by:
setAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
setAuthenticatedClientSessions
public void setAuthenticatedClientSessions(Map<String,String> authenticatedClientSessions)
- Specified by:
setAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
removeAuthenticatedClientSession
public Boolean removeAuthenticatedClientSession(String clientUUID)
- Specified by:
removeAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
getAuthenticatedClientSessions
public Map<String,String> getAuthenticatedClientSessions()
- Specified by:
getAuthenticatedClientSessionsin interfaceMapUserSessionEntity
-
getAuthenticatedClientSession
public String getAuthenticatedClientSession(String clientUUID)
- Specified by:
getAuthenticatedClientSessionin interfaceMapUserSessionEntity
-
setBrokerSessionId
public void setBrokerSessionId(String brokerSessionId)
- Specified by:
setBrokerSessionIdin interfaceMapUserSessionEntity
-
getBrokerSessionId
public String getBrokerSessionId()
- Specified by:
getBrokerSessionIdin interfaceMapUserSessionEntity
-
getBrokerUserId
public String getBrokerUserId()
- Specified by:
getBrokerUserIdin interfaceMapUserSessionEntity
-
setBrokerUserId
public void setBrokerUserId(String brokerUserId)
- Specified by:
setBrokerUserIdin interfaceMapUserSessionEntity
-
getExpiration
public Long getExpiration()
- Specified by:
getExpirationin interfaceMapUserSessionEntity
-
setExpiration
public void setExpiration(Long expiration)
- Specified by:
setExpirationin interfaceMapUserSessionEntity
-
getIpAddress
public String getIpAddress()
- Specified by:
getIpAddressin interfaceMapUserSessionEntity
-
setIpAddress
public void setIpAddress(String ipAddress)
- Specified by:
setIpAddressin interfaceMapUserSessionEntity
-
setLastSessionRefresh
public void setLastSessionRefresh(Long lastSessionRefresh)
- Specified by:
setLastSessionRefreshin interfaceMapUserSessionEntity
-
getLastSessionRefresh
public Long getLastSessionRefresh()
- Specified by:
getLastSessionRefreshin interfaceMapUserSessionEntity
-
getLoginUsername
public String getLoginUsername()
- Specified by:
getLoginUsernamein interfaceMapUserSessionEntity
-
setLoginUsername
public void setLoginUsername(String loginUsername)
- Specified by:
setLoginUsernamein interfaceMapUserSessionEntity
-
setNote
public void setNote(String name, String value)
- Specified by:
setNotein interfaceMapUserSessionEntity
-
getNotes
public Map<String,String> getNotes()
- Specified by:
getNotesin interfaceMapUserSessionEntity
-
setNotes
public void setNotes(Map<String,String> notes)
- Specified by:
setNotesin interfaceMapUserSessionEntity
-
getNote
public String getNote(String name)
- Specified by:
getNotein interfaceMapUserSessionEntity
-
removeNote
public Boolean removeNote(String name)
- Specified by:
removeNotein interfaceMapUserSessionEntity
-
isOffline
public Boolean isOffline()
- Specified by:
isOfflinein interfaceMapUserSessionEntity
-
setOffline
public void setOffline(Boolean offline)
- Specified by:
setOfflinein interfaceMapUserSessionEntity
-
getPersistenceState
public UserSessionModel.SessionPersistenceState getPersistenceState()
- Specified by:
getPersistenceStatein interfaceMapUserSessionEntity
-
setPersistenceState
public void setPersistenceState(UserSessionModel.SessionPersistenceState persistenceState)
- Specified by:
setPersistenceStatein interfaceMapUserSessionEntity
-
setRealmId
public void setRealmId(String realmId)
- Specified by:
setRealmIdin interfaceMapUserSessionEntity
-
getRealmId
public String getRealmId()
- Specified by:
getRealmIdin interfaceMapUserSessionEntity
-
isRememberMe
public Boolean isRememberMe()
- Specified by:
isRememberMein interfaceMapUserSessionEntity
-
setRememberMe
public void setRememberMe(Boolean rememberMe)
- Specified by:
setRememberMein interfaceMapUserSessionEntity
-
setStarted
public void setStarted(Long started)
- Specified by:
setStartedin interfaceMapUserSessionEntity
-
getStarted
public Long getStarted()
- Specified by:
getStartedin interfaceMapUserSessionEntity
-
getState
public UserSessionModel.State getState()
- Specified by:
getStatein interfaceMapUserSessionEntity
-
setState
public void setState(UserSessionModel.State state)
- Specified by:
setStatein interfaceMapUserSessionEntity
-
setUserId
public void setUserId(String userId)
- Specified by:
setUserIdin interfaceMapUserSessionEntity
-
getUserId
public String getUserId()
- Specified by:
getUserIdin interfaceMapUserSessionEntity
-
isUpdated
public boolean isUpdated()
Description copied from interface:UpdatableEntityFlag signalizing that any of the setters has been meaningfully used.- Specified by:
isUpdatedin interfaceUpdatableEntity- Overrides:
isUpdatedin classUpdatableEntity.Impl- Returns:
-
-