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.
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:
- 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.