| org.josso.gateway.session.service.BaseSession
All known Subclasses: org.josso.gateway.session.service.BaseSessionImpl,
BaseSession | public interface BaseSession extends SSOSession(Code) | | A base implementation of an SSO session, that provides extra functionality used by the service.
This is a mutable SSO session.
author: Sebastian Gonzalez Oyuela version: $Id: BaseSession.java 508 2008-02-18 13:32:29Z sgonzalez $ |
Method Summary | |
void | access() Update the accessed time information for this session. | void | expire() This method expires a session. | void | setCreationTime(long time) Set the creation time for this session. | void | setId(String id) Set the id of this session, used when initializing new sessions. | void | setUsername(String name) Setter for the username associated to this session. | void | setValid(boolean valid) Set the valid flag for this session. |
access | void access()(Code) | | Update the accessed time information for this session.
|
expire | void expire()(Code) | | This method expires a session. The isValid method will return false.
|
setCreationTime | void setCreationTime(long time)(Code) | | Set the creation time for this session.
Used while building or recycling a session.
Parameters: time - The new creation time |
setId | void setId(String id)(Code) | | Set the id of this session, used when initializing new sessions.
Used while building or recycling a session.
Parameters: id - the session id. |
setUsername | void setUsername(String name)(Code) | | Setter for the username associated to this session.
|
setValid | void setValid(boolean valid)(Code) | | Set the valid flag for this session.
Used while building or recycling a session.
Parameters: valid - The new value for the valid property. |
|
|