Class AuthenticatedClientSessionEntity
java.lang.Object
org.keycloak.models.sessions.infinispan.entities.SessionEntity
org.keycloak.models.sessions.infinispan.entities.AuthenticatedClientSessionEntity
- Author:
- Marek Posolda
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(UUID clientSessionId, RealmModel realm, ClientModel client, UserSessionModel userSession) boolean
getId()
getNotes()
int
int
int
int
hashCode()
boolean
mergeRemoteEntityWithLocalEntity
(SessionEntityWrapper localEntityWrapper) void
void
setAuthMethod
(String authMethod) void
setClientId
(String clientId) void
void
setRedirectUri
(String redirectUri) void
setTimestamp
(int timestamp) void
setUserSessionId
(String userSessionId) 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_TIMESTAMP_REMOTE
- See Also:
-
CLIENT_ID_NOTE
- See Also:
-
-
Constructor Details
-
AuthenticatedClientSessionEntity
-
-
Method Details
-
getAuthMethod
-
setAuthMethod
-
getRedirectUri
-
setRedirectUri
-
getTimestamp
@ProtoField(4) public int getTimestamp() -
setTimestamp
public void setTimestamp(int timestamp) -
getUserSessionStarted
public int getUserSessionStarted() -
getStarted
public int getStarted() -
isUserSessionRememberMe
public boolean isUserSessionRememberMe() -
getClientId
-
setClientId
-
getAction
-
setAction
-
getNotes
@ProtoField(value=6, mapImplementation=java.util.concurrent.ConcurrentHashMap.class) public Map<String,String> getNotes() -
setNotes
-
getId
-
toString
-
equals
- Specified by:
equals
in classSessionEntity
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSessionEntity
-
mergeRemoteEntityWithLocalEntity
public SessionEntityWrapper mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) - Overrides:
mergeRemoteEntityWithLocalEntity
in classSessionEntity
-
getUserSessionId
-
setUserSessionId
-
create
public static AuthenticatedClientSessionEntity create(UUID clientSessionId, RealmModel realm, ClientModel client, UserSessionModel userSession) -
createFromModel
public static AuthenticatedClientSessionEntity createFromModel(AuthenticatedClientSessionModel model)
-