Package com.microstrategy.web.objects
Class WebIServerSessionProxyFactory
- java.lang.Object
-
- com.microstrategy.web.objects.WebIServerSessionProxyFactory
-
public class WebIServerSessionProxyFactory extends java.lang.Object
This factory creates
WebIServerSession
objects that have different project or user names from what was used to create the original session. These proxy instances are useful in a variety of scenarios that require different project or user associations, but not have to relogin to the actual project or user.The
WebIServerSession
instances created via this factory also implements theWebIServerSessionProxyFactory.Proxy
interface.- Since:
- MicroStrategy Web 9.0.1
- See Also:
newInstance(WebIServerSession, String)
,newInstance(WebIServerSession, WebUser, String)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
WebIServerSessionProxyFactory.Proxy
This interface is also inherited by allWebIServerSession
objects created byWebIServerSessionProxyFactory
.
-
Constructor Summary
Constructors Constructor Description WebIServerSessionProxyFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Object
getCacheKey(WebIServerSession session)
static WebIServerSessionProxyFactory
getInstance()
WebIServerSession
newInstance(WebIServerSession session, WebUser user, java.lang.String projectDSSID)
WebIServerSession
newInstance(WebIServerSession session, java.lang.String projectDSSID)
WebIServerSession
newInstanceForUserEntity(WebIServerSession session, WebUserEntity user, java.lang.String projectDSSID)
-
-
-
Method Detail
-
getInstance
public static WebIServerSessionProxyFactory getInstance()
-
newInstance
public WebIServerSession newInstance(WebIServerSession session, java.lang.String projectDSSID)
-
newInstance
public WebIServerSession newInstance(WebIServerSession session, WebUser user, java.lang.String projectDSSID)
-
newInstanceForUserEntity
public WebIServerSession newInstanceForUserEntity(WebIServerSession session, WebUserEntity user, java.lang.String projectDSSID)
-
getCacheKey
public static java.lang.Object getCacheKey(WebIServerSession session) throws WebObjectsException
- Throws:
WebObjectsException
-
-