Open SiteSearch 4.1.1
Final

ORG.oclc.zbroker
Class SessionIdHandler

java.lang.Object
  |
  +--ORG.oclc.zbroker.SessionIdHandler

public class SessionIdHandler
extends Object
implements SessionInfo

The SessionIdHandler class provides a set of methods that generate a ZBroker 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)
          Generates a String containing a user's session id based on a
 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:
false - not used

getSessionId

public String getSessionId(Object requestObject,
                           Object activeUsers)
Generates a String containing a user's session id based on a
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