public class

LoginFirstTask

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

Summary

Constants
String BLOCK_NAME_LOGINTASKDATA The name of the Block that should contain the resulting task response.
String PARAM_NAME_APPLICATION_TYPE The application type making the request.
String PARAM_NAME_AUTH_MODE The name of the authentication mode parameter.
String PARAM_NAME_LOGIN The name of the user ID parameter.
String PARAM_NAME_PASSWORD The name of the password parameter.
String PROP_NAME_LOGINTASKDATA_SESSION_STATE The name of the session ID property in the Block.
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata applicationTypeTaskParam
protected TaskParameterMetadata authModeTaskParam
protected TaskParameterMetadata loginTaskParam
protected TaskParameterMetadata passwordTaskParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
LoginFirstTask()
Creates a new LoginTask object.
Protected Constructors
LoginFirstTask(String desc)
Public Methods
TaskRequestContext newRequestContext()
Returns a new object to hold per-request data for this Task.
void processRequest(TaskRequestContext context, TaskOutput taskOutput)
The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes the processRequest(TaskRequestContext, MarkupOutput) version.
Protected Methods
String configure(Block block, TaskRequestContext context, WebAppSessionManager sessionManager)
[Expand]
Inherited Methods
From class com.microstrategy.web.tasks.AbstractBaseTask
From class java.lang.Object
From interface com.microstrategy.web.tasks.Task

Constants

public static final String BLOCK_NAME_LOGINTASKDATA

The name of the Block that should contain the resulting task response.

Constant Value: "LoginTaskData"

public static final String PARAM_NAME_APPLICATION_TYPE

The application type making the request.

Constant Value: "appType"

public static final String PARAM_NAME_AUTH_MODE

The name of the authentication mode parameter.

Constant Value: "ConnMode"

public static final String PARAM_NAME_LOGIN

The name of the user ID parameter.

Constant Value: "Uid"

public static final String PARAM_NAME_PASSWORD

The name of the password parameter.

Constant Value: "Pwd"

public static final String PROP_NAME_LOGINTASKDATA_SESSION_STATE

The name of the session ID property in the Block.

Constant Value: "sessionState"

Fields

protected TaskParameterMetadata applicationTypeTaskParam

protected TaskParameterMetadata authModeTaskParam

protected TaskParameterMetadata loginTaskParam

protected TaskParameterMetadata passwordTaskParam

Public Constructors

public LoginFirstTask ()

Creates a new LoginTask object.

Protected Constructors

protected LoginFirstTask (String desc)

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)

The default implementation of this method of processRequest gets the Primary Content from the TaskOutput and invokes the processRequest(TaskRequestContext, MarkupOutput) version.

Parameters
context The TaskRequestContext object that maintains the state of the request.
taskOutput The TaskOutput that contains the output generated by the Task.
Throws
TaskException

Protected Methods

protected String configure (Block block, TaskRequestContext context, WebAppSessionManager sessionManager)

Throws
TaskException