Package com.microstrategy.web.app
Class SessionManager
- java.lang.Object
-
- com.microstrategy.web.app.SessionManager
-
public class SessionManager extends java.lang.Object
Deprecated.All of the functionality on this class has been replaced byWebAppSessionManager
. Please use that interface instead of this one. The SessionManager class has been designed as a controller for the sessions that can be opened through a Web Application with projects in one or more I-Servers. The SessionManager is also enabled to provide the list of projects that should be shown as available to the user, given a provided login or in general based on the I-Servers available.
For recognizing one session from the other, a key is used based on the I-Server name, the Project and the Port used for connecting, so users are enabled to switch from one project to others (even in different I-Servers) and the session will be obtained and applied accordingly. Methods likefixCurrentWebIServerSession(AppContext appContext)
take care of preparing whichWebIServerSession
instance shall be used for the rest of the user request, so the proper one is provided when thegetWebIServerSession()
call is done.
The SessionManager interacts with theExternalSecurity
instance defined at the application level, which in turn can create, close and manipulate the sessions that exist defined on this SessionManager instance. If theExternalSecurity
delegates all these functions to the SessionManager, then the information provided by the user or application via theRequestKeys
and other settings will be used for creating the sessions.- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PREFERENCE_SERVER_LOCALE_DEFAULT
Deprecated.Use EnumWebPreferences.PREFERENCE_LOCALE_DEFAULTstatic int
USE_LOCAL_CANCEL_JOBS_SESSION_FLAG
Deprecated.Use WebIServerSessionMgr.USE_LOCAL_CANCEL_JOBS_SESSION_FLAGstatic int
USE_LOCAL_DELETE_JOBS_SESSION_FLAG
Deprecated.Use WebIServerSessionMgr.USE_LOCAL_DELETE_JOBS_SESSION_FLAG
-
Constructor Summary
Constructors Constructor Description SessionManager()
Deprecated.Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description WebAppException
getExceptionInfo()
Deprecated.Return the exception object that was generated while fixing the current session to use for this request.
-
-
-
Field Detail
-
USE_LOCAL_CANCEL_JOBS_SESSION_FLAG
public static final int USE_LOCAL_CANCEL_JOBS_SESSION_FLAG
Deprecated.Use WebIServerSessionMgr.USE_LOCAL_CANCEL_JOBS_SESSION_FLAGThis flag, to be used on theremoveSession
methods, indicates to use the original setting for cancelling jobs when closing the session- See Also:
- Constant Field Values
-
USE_LOCAL_DELETE_JOBS_SESSION_FLAG
public static final int USE_LOCAL_DELETE_JOBS_SESSION_FLAG
Deprecated.Use WebIServerSessionMgr.USE_LOCAL_DELETE_JOBS_SESSION_FLAGThis flag, to be used on theremoveSession
methods, indicates to use the original setting for removing jobs when closing the session- See Also:
- Constant Field Values
-
PREFERENCE_SERVER_LOCALE_DEFAULT
public static final java.lang.String PREFERENCE_SERVER_LOCALE_DEFAULT
Deprecated.Use EnumWebPreferences.PREFERENCE_LOCALE_DEFAULTDefault value for the preference corresponding to the Server Locale. This value indicates the locale should be taken from the client's language option selected on his/her browser- See Also:
- Constant Field Values
-
-
Method Detail
-
getExceptionInfo
public WebAppException getExceptionInfo()
Deprecated.Return the exception object that was generated while fixing the current session to use for this request.- Returns:
- a
WebAppException
instance if any existing. Otherwise, returnsnull
-
-