Class RemoteUserSessionEntity
java.lang.Object
org.keycloak.models.sessions.infinispan.entities.RemoteUserSessionEntity
-
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteUserSessionEntity
create
(String id, RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId) static RemoteUserSessionEntity
createFromModel
(UserSessionModel model) int
getNotes()
int
getState()
boolean
static RemoteUserSessionEntity
mockEntity
(String id, String realmId, String userId) static RemoteUserSessionEntity
void
restart
(String realmId, String userId, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId) void
setLastSessionRefresh
(int lastSessionRefresh) void
void
setState
(UserSessionModel.State state)
-
Method Details
-
create
public static RemoteUserSessionEntity create(String id, RealmModel realm, UserModel user, String loginUsername, String ipAddress, String authMethod, boolean rememberMe, String brokerSessionId, String brokerUserId) -
createFromModel
-
mockEntity
-
mockEntity
-
getUserSessionId
-
getAuthMethod
-
getBrokerSessionId
-
getBrokerUserId
-
getIpAddress
-
getLastSessionRefresh
@ProtoField(6) public int getLastSessionRefresh() -
setLastSessionRefresh
public void setLastSessionRefresh(int lastSessionRefresh) -
getLoginUsername
-
getNotes
@ProtoField(value=8, mapImplementation=java.util.HashMap.class) public Map<String,String> getNotes() -
setNotes
-
getRealmId
-
isRememberMe
@ProtoField(10) public boolean isRememberMe() -
getStarted
@ProtoField(11) public int getStarted() -
getState
-
setState
-
getUserId
-
restart
-