public class UserSessionAdapter extends Object implements UserSessionModel
Constructor and Description |
---|
UserSessionAdapter(KeycloakSession session,
MemUserSessionProvider provider,
RealmModel realm,
UserSessionEntity entity) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAuthMethod() |
List<ClientSessionModel> |
getClientSessions() |
String |
getId() |
String |
getIpAddress() |
int |
getLastSessionRefresh() |
String |
getLoginUsername() |
int |
getStarted() |
UserModel |
getUser() |
int |
hashCode() |
boolean |
isRememberMe() |
void |
setAuthMethod(String authMethod) |
void |
setId(String id) |
void |
setIpAddress(String ipAddress) |
void |
setLastSessionRefresh(int lastSessionRefresh) |
void |
setLoginUsername(String loginUsername) |
void |
setRememberMe(boolean rememberMe) |
void |
setStarted(int started) |
void |
setUser(UserModel user) |
public UserSessionAdapter(KeycloakSession session, MemUserSessionProvider provider, RealmModel realm, UserSessionEntity entity)
public String getId()
getId
in interface UserSessionModel
public void setId(String id)
setId
in interface UserSessionModel
public UserModel getUser()
getUser
in interface UserSessionModel
public void setUser(UserModel user)
setUser
in interface UserSessionModel
public String getLoginUsername()
getLoginUsername
in interface UserSessionModel
public void setLoginUsername(String loginUsername)
setLoginUsername
in interface UserSessionModel
public String getIpAddress()
getIpAddress
in interface UserSessionModel
public void setIpAddress(String ipAddress)
setIpAddress
in interface UserSessionModel
public String getAuthMethod()
getAuthMethod
in interface UserSessionModel
public void setAuthMethod(String authMethod)
setAuthMethod
in interface UserSessionModel
public boolean isRememberMe()
isRememberMe
in interface UserSessionModel
public void setRememberMe(boolean rememberMe)
setRememberMe
in interface UserSessionModel
public int getStarted()
getStarted
in interface UserSessionModel
public void setStarted(int started)
setStarted
in interface UserSessionModel
public int getLastSessionRefresh()
getLastSessionRefresh
in interface UserSessionModel
public void setLastSessionRefresh(int lastSessionRefresh)
setLastSessionRefresh
in interface UserSessionModel
public List<ClientSessionModel> getClientSessions()
getClientSessions
in interface UserSessionModel
Copyright © 2015. All Rights Reserved.