Package com.microstrategy.web.objects
Class WebIServerSessionProxyFactory
- java.lang.Object
-
- com.microstrategy.web.objects.WebIServerSessionProxyFactory
-
public class WebIServerSessionProxyFactory extends java.lang.ObjectThis factory creates
WebIServerSessionobjects 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
WebIServerSessioninstances created via this factory also implements theWebIServerSessionProxyFactory.Proxyinterface.- 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 interfaceWebIServerSessionProxyFactory.ProxyThis interface is also inherited by allWebIServerSessionobjects 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.ObjectgetCacheKey(WebIServerSession session)static WebIServerSessionProxyFactorygetInstance()WebIServerSessionnewInstance(WebIServerSession session, WebUser user, java.lang.String projectDSSID)WebIServerSessionnewInstance(WebIServerSession session, java.lang.String projectDSSID)WebIServerSessionnewInstanceForUserEntity(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
-
-