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 UserSessionModel
public UserModel getUser()
getUser
in interface UserSessionModel
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 © 2014. All Rights Reserved.