| org.josso.gateway.session.SSOSession
Method Summary | |
void | fireSessionEvent(String type, Object data) Sends a session event. | long | getAccessCount() Gets this session access count. | long | getCreationTime() Gets this session creation time in milliseconds. | String | getId() Gets the sso session identifier. | long | getLastAccessTime() Gets this session last access time in milliseconds. | int | getMaxInactiveInterval() Set the maximum time interval, in seconds, between client requests
before the SSO Service will invalidate the session. | String | getUsername() Getter for the username associated to this session. | boolean | isValid() Indicates if this is a valid session. | void | setMaxInactiveInterval(int interval) Set the maximum time interval, in seconds, between client requests
before the SSO Service will invalidate the session. |
SESSION_CREATED_EVENT | final public static String SESSION_CREATED_EVENT(Code) | | The SessionEvent event type when a session is created.
|
SESSION_DESTROYED_EVENT | final public static String SESSION_DESTROYED_EVENT(Code) | | The SessionEvent event type when a session is destroyed.
|
fireSessionEvent | void fireSessionEvent(String type, Object data)(Code) | | Sends a session event.
|
getAccessCount | long getAccessCount()(Code) | | Gets this session access count.
|
getCreationTime | long getCreationTime()(Code) | | Gets this session creation time in milliseconds.
|
getLastAccessTime | long getLastAccessTime()(Code) | | Gets this session last access time in milliseconds.
|
getMaxInactiveInterval | int getMaxInactiveInterval()(Code) | | Set the maximum time interval, in seconds, between client requests
before the SSO Service will invalidate the session. A negative
time indicates that the session should never time out.
|
getUsername | String getUsername()(Code) | | Getter for the username associated to this session.
|
isValid | boolean isValid()(Code) | | Indicates if this is a valid session.
|
setMaxInactiveInterval | void setMaxInactiveInterval(int interval)(Code) | | Set the maximum time interval, in seconds, between client requests
before the SSO Service will invalidate the session. A negative
time indicates that the session should never time out.
Parameters: interval - The new maximum interval in seconds |
|
|