ORG.oclc.jassi
Class SessionIdHandler
java.lang.Object
|
+--ORG.oclc.jassi.SessionIdHandler
- public class SessionIdHandler
- extends Object
- implements SessionInfo
The SessionIdHandler class provides a set of methods that
generate a JaSSI user sessionId and determine whether a user
is new to the system for the SiteSearch system.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SessionIdHandler
public SessionIdHandler()
- Constructs a SessionIdHandler object.
isNewSession
public boolean isNewSession(Object requestObject)
- Determines whether this is a new session.
- Specified by:
- isNewSession in interface SessionInfo
- Parameters:
requestObject
- information about the request- Returns:
- boolean true if session is new; false if not
getSessionId
public String getSessionId(Object requestObject,
Object activeUsers)
- Retrieves a String containing the user's session id.
- Specified by:
- getSessionId in interface SessionInfo
- Parameters:
requestObject
- information about the request- Returns:
- String representing the session id
OR null if the session is invalid.