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() |
UserSessionEntity |
getEntity() |
String |
getId() |
String |
getIpAddress() |
int |
getLastSessionRefresh() |
String |
getLoginUsername() |
int |
getStarted() |
UserModel |
getUser() |
int |
hashCode() |
boolean |
isRememberMe() |
void |
setId(String id) |
void |
setLastSessionRefresh(int lastSessionRefresh) |
void |
setUser(UserModel user) |
public UserSessionAdapter(KeycloakSession session, MemUserSessionProvider provider, RealmModel realm, UserSessionEntity entity)
public UserSessionEntity getEntity()
public String getId()
getId
in interface UserSessionModel
public void setId(String id)
public UserModel getUser()
getUser
in interface UserSessionModel
public void setUser(UserModel user)
public String getLoginUsername()
getLoginUsername
in interface UserSessionModel
public String getIpAddress()
getIpAddress
in interface UserSessionModel
public String getAuthMethod()
getAuthMethod
in interface UserSessionModel
public boolean isRememberMe()
isRememberMe
in interface UserSessionModel
public int getStarted()
getStarted
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.