public class UserSessionAdapter extends Object implements UserSessionModel
| Constructor and Description |
|---|
UserSessionAdapter(KeycloakSession session,
InfinispanUserSessionProvider provider,
org.infinispan.Cache<String,SessionEntity> cache,
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 |
setLastSessionRefresh(int lastSessionRefresh) |
public UserSessionAdapter(KeycloakSession session, InfinispanUserSessionProvider provider, org.infinispan.Cache<String,SessionEntity> cache, RealmModel realm, UserSessionEntity entity)
public String getId()
getId in interface UserSessionModelpublic UserModel getUser()
getUser in interface UserSessionModelpublic String getLoginUsername()
getLoginUsername in interface UserSessionModelpublic String getIpAddress()
getIpAddress in interface UserSessionModelpublic String getAuthMethod()
getAuthMethod in interface UserSessionModelpublic boolean isRememberMe()
isRememberMe in interface UserSessionModelpublic int getStarted()
getStarted in interface UserSessionModelpublic int getLastSessionRefresh()
getLastSessionRefresh in interface UserSessionModelpublic void setLastSessionRefresh(int lastSessionRefresh)
setLastSessionRefresh in interface UserSessionModelpublic List<ClientSessionModel> getClientSessions()
getClientSessions in interface UserSessionModelCopyright © 2014. All Rights Reserved.