Class SessionInformation
java.lang.Object
com.codename1.backend.security.SessionInformation
One signed-in session a
SessionRegistry knows of, as Spring Security's
class of the same name describes it.-
Method Summary
Modifier and TypeMethodDescriptionvoidMarks the session expired: its next request is signed out.longWhen the session last served a request, in milliseconds since the epoch.The name the user signed in as.The session's id.boolean
-
Method Details
-
getPrincipal
The name the user signed in as. -
getSessionId
The session's id. Secret: never log it. -
getLastRequest
public long getLastRequest()When the session last served a request, in milliseconds since the epoch. -
isExpired
public boolean isExpired() -
expireNow
public void expireNow()Marks the session expired: its next request is signed out.
-