Class RootAuthenticationSessionEntity
java.lang.Object
org.keycloak.models.sessions.infinispan.entities.SessionEntity
org.keycloak.models.sessions.infinispan.entities.RootAuthenticationSessionEntity
- Author:
- Marek Posolda
-
Constructor Summary
ModifierConstructorDescriptionprotected
RootAuthenticationSessionEntity
(String realmId, String id, int timestamp, Map<String, AuthenticationSessionEntity> authenticationSessions) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
int
hashCode()
void
setAuthenticationSessions
(Map<String, AuthenticationSessionEntity> authenticationSessions) void
setTimestamp
(int timestamp) boolean
toString()
Methods inherited from class org.keycloak.models.sessions.infinispan.entities.SessionEntity
getRealmId, isOffline, mergeRemoteEntityWithLocalEntity, setOffline, setRealmId
-
Constructor Details
-
RootAuthenticationSessionEntity
-
RootAuthenticationSessionEntity
protected RootAuthenticationSessionEntity(String realmId, String id, int timestamp, Map<String, AuthenticationSessionEntity> authenticationSessions)
-
-
Method Details
-
getId
-
getTimestamp
@ProtoField(3) public int getTimestamp() -
setTimestamp
public void setTimestamp(int timestamp) -
getAuthenticationSessions
@ProtoField(value=4, mapImplementation=java.util.concurrent.ConcurrentHashMap.class) public Map<String,AuthenticationSessionEntity> getAuthenticationSessions() -
setAuthenticationSessions
public void setAuthenticationSessions(Map<String, AuthenticationSessionEntity> authenticationSessions) -
shouldEvaluateRemoval
public boolean shouldEvaluateRemoval()- Overrides:
shouldEvaluateRemoval
in classSessionEntity
-
equals
- Specified by:
equals
in classSessionEntity
-
hashCode
public int hashCode()- Specified by:
hashCode
in classSessionEntity
-
toString
-