com.plumtree.uiinfrastructure.web
Class SessionManagerFactory

java.lang.Object
  extended by com.plumtree.uiinfrastructure.web.SessionManagerFactory

public class SessionManagerFactory
extends java.lang.Object

Factory class for getting an instance of ISessionManager. Takes as parameters platform specific variables.


Constructor Summary
SessionManagerFactory()
           
 
Method Summary
static ISessionManager GetSessionManager(HttpSession session)
          Get an intance of ISessionManager.
static ISessionManager GetSessionManager(XPSession session)
          Get an intance of ISessionManager.
static ISessionManager SetSessionManager(XPSession session, ISessionManager sessionMgr)
          Set new session manager on application session (should only be used when creating new app session after login to mitigate session fixation vunerability)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionManagerFactory

public SessionManagerFactory()
Method Detail

GetSessionManager

public static ISessionManager GetSessionManager(HttpSession session)
Get an intance of ISessionManager. There is one root Session manager on each session. Java specific request. This will return the same root ISessionManager as the XP call.

Parameters:
session - The java session
Returns:
An ISessionManager stored on the Java Session.

GetSessionManager

public static ISessionManager GetSessionManager(XPSession session)
Get an intance of ISessionManager. There is one root Session manager on each session. XP interface. This will return the same root ISessionManager as the Java specific call.

Parameters:
session - The XP wrapper session
Returns:
An ISessionManager stored on the Java Session.

SetSessionManager

public static ISessionManager SetSessionManager(XPSession session,
                                                ISessionManager sessionMgr)
Set new session manager on application session (should only be used when creating new app session after login to mitigate session fixation vunerability)

Parameters:
session -
sessionMgr -
Returns:
Old set session manager if one existed



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.