public class

AppLoginTask

extends LoginTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.LoginTask
       ↳ com.microstrategy.web.app.tasks.AppLoginTask

Summary

Constants
String PARAM_NAME_SET_AS_ACTIVE_SESSION
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata setAsActiveSessionParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
AppLoginTask()
Public Methods
TaskRequestContext newRequestContext()
Returns a new object to hold per-request data for this Task.
void processRequest(TaskRequestContext context, TaskOutput taskOutput)
Creates an Intelligence Server session using the information supplied in the request.
Protected Methods
void checkSession(TaskRequestContext context, WebIServerSession wiss)
String configure(Block block, TaskRequestContext context, WebIServerSession wiss)
void configureWebIServerSession(TaskRequestContext context, WebIServerSession wiss, String server, int port, String project, String login, String password, int authMode, String twoStepVerificationCode, String accessToken)
String getAccessToken(TaskRequestContext trc)
boolean isAuthModeEnabled(TaskRequestContext context, WebIServerSession session)
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Constants

public static final String PARAM_NAME_SET_AS_ACTIVE_SESSION

Constant Value: "setAsActiveSession"

Fields

protected TaskParameterMetadata setAsActiveSessionParam

Public Constructors

public AppLoginTask ()

Public Methods

public TaskRequestContext newRequestContext ()

Returns a new object to hold per-request data for this Task.

Returns

public void processRequest (TaskRequestContext context, TaskOutput taskOutput)

Creates an Intelligence Server session using the information supplied in the request.

Parameters
context The TaskRequestContext object that maintains the state of the request.
taskOutput The TaskOutput that records the contents of the Task response.
Throws
TaskException

Protected Methods

protected void checkSession (TaskRequestContext context, WebIServerSession wiss)

Throws
TaskException

protected String configure (Block block, TaskRequestContext context, WebIServerSession wiss)

Throws
TaskException

protected void configureWebIServerSession (TaskRequestContext context, WebIServerSession wiss, String server, int port, String project, String login, String password, int authMode, String twoStepVerificationCode, String accessToken)

Throws
TaskException

protected String getAccessToken (TaskRequestContext trc)

protected boolean isAuthModeEnabled (TaskRequestContext context, WebIServerSession session)

Throws
TaskException