Package org.yamcs.security
Class UserSession
java.lang.Object
org.yamcs.security.UserSession
Covers a user session. Current assumption is that all such sessions use the refresh flow.
-
Constructor Summary
ConstructorDescriptionUserSession
(String id, AuthenticationInfo authenticationInfo, String ipAddress, String hostname, long lifespan) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getLogin()
int
hashCode()
boolean
void
setLifespan
(long lifespan) toString()
-
Constructor Details
-
UserSession
public UserSession(String id, AuthenticationInfo authenticationInfo, String ipAddress, String hostname, long lifespan)
-
-
Method Details
-
getId
-
getLogin
-
getAuthenticationInfo
-
getIpAddress
-
getHostname
-
getStartTime
-
getLastAccessTime
-
getClients
-
setLifespan
public void setLifespan(long lifespan) -
isExpired
public boolean isExpired() -
getExpirationTime
-
equals
-
hashCode
public int hashCode() -
toString
-