|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SecureSession
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a deep copy of this object. |
void |
end()
Invalidates the session. |
void |
extend()
Extends the current session by SecureSessionManager.DEFAULT_SESSION_LENGTH milliseconds. |
java.lang.String |
getSessionId()
Gets the internal session ID for this session. |
long |
getStartTime()
Gets the time in milliseconds when the session was started or the last time refresh was called. |
long |
getTimeToLive()
Gets the time in milliseconds until this session will be invalidated. |
void |
refresh()
Sets the startTime to the current time. |
void |
setSessionId(java.lang.String id)
Sets the internal ID of this session. |
boolean |
start(java.lang.String username,
java.lang.String password)
|
| Method Detail |
|---|
boolean start(java.lang.String username,
java.lang.String password)
throws SessionException
SessionExceptionjava.lang.String getSessionId()
void setSessionId(java.lang.String id)
id -
long getTimeToLive()
throws SessionException
SessionExceptionlong getStartTime()
void extend()
throws SessionException
SessionExceptionvoid refresh()
void end()
throws SessionException
SessionExceptionjava.lang.Object clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||