Open SiteSearch 4.1.1
Final

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.


Constructor Summary
SessionIdHandler()
          Constructs a SessionIdHandler object.
 
Method Summary
 String getSessionId(Object requestObject, Object activeUsers)
          Retrieves a String containing the user's session id.
 boolean isNewSession(Object requestObject)
          Determines whether this is a new session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionIdHandler

public SessionIdHandler()
Constructs a SessionIdHandler object.
Method Detail

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.

Open SiteSearch 4.1.1
Final