public class

MobileLoginTask

extends LoginTask
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.LoginTask
       ↳ com.microstrategy.web.tasks.MobileLoginTask
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
String PARAM_NAME_CLIENT_ID
String PARAM_NAME_CLIENT_TYPE
String PARAM_NAME_DEFAULT_LOCALE_COUNTRY
String PARAM_NAME_DEFAULT_LOCALE_LANGUAGE
String PARAM_NAME_DEVICE_ID
String PARAM_NAME_INCLUDE_STATS_SETTINGS
String PARAM_NAME_LOCALE_COUNTRY
String PARAM_NAME_LOCALE_LANGUAGE
String PARAM_NAME_PROJECT_ID The ID of the project parameter.
String PARAM_NAME_SESSION_FLAGS
String PARAM_NAME_SESSION_KEY
String PARAM_NAME_TIME_ZONE
String PARAM_NAME_WORKING_SET_SIZE
String PROP_NAME_LOGINTASKDATA_OLD_SESSION_STATE This constant is deprecated. Replaced by PROP_NAME_LOGINTASKDATA_SESSION_STATE
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Fields
protected TaskParameterMetadata clientIDParam
protected TaskParameterMetadata clientTypeParam
protected TaskParameterMetadata defaultLocaleCountryParam
protected TaskParameterMetadata defaultLocaleLanguageParam
protected TaskParameterMetadata deviceIDParam
protected TaskParameterMetadata displayLocaleOverrideParam
protected TaskParameterMetadata displayLocaleParam
protected TaskParameterMetadata includeStatsSettingsParam
protected TaskParameterMetadata includeUserInfoParam
protected TaskParameterMetadata localeCountryParam
protected TaskParameterMetadata localeLanguageParam
protected TaskParameterMetadata messagesLocaleOverrideParam
protected TaskParameterMetadata messagesLocaleParam
protected TaskParameterMetadata metadataLocaleOverrideParam
protected TaskParameterMetadata metadataLocaleParam
protected TaskParameterMetadata numberLocaleOverrideParam
protected TaskParameterMetadata numberLocaleParam
protected TaskParameterMetadata projectIDTaskParam
protected TaskParameterMetadata sessionFlagsParam
protected TaskParameterMetadata sessionKeyParam
protected TaskParameterMetadata timeZoneParam
protected TaskParameterMetadata warehouseDataLocaleOverrideParam
protected TaskParameterMetadata warehouseDataLocaleParam
protected TaskParameterMetadata workingSetSizeParam
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
MobileLoginTask()
Protected Methods
void addVersionInfo(Block block, WebIServerSession wiss)
void checkSession(TaskRequestContext context, WebIServerSession wiss, boolean skipCheck)
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 orgID)
void configureWebIServerSession(TaskRequestContext context, WebIServerSession wiss, String server, int port, String project, String login, String password, int authMode, String twoStepVerificationCode, String accessToken)
boolean isAuthModeEnabled(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_CLIENT_ID

Constant Value: "clientID"

public static final String PARAM_NAME_CLIENT_TYPE

Constant Value: "clientType"

public static final String PARAM_NAME_DEFAULT_LOCALE_COUNTRY

Constant Value: "defaultLocaleCountry"

public static final String PARAM_NAME_DEFAULT_LOCALE_LANGUAGE

Constant Value: "defaultLocaleLanguage"

public static final String PARAM_NAME_DEVICE_ID

Constant Value: "deviceID"

public static final String PARAM_NAME_INCLUDE_STATS_SETTINGS

Constant Value: "includeStatsSettings"

public static final String PARAM_NAME_LOCALE_COUNTRY

Constant Value: "localeCountry"

public static final String PARAM_NAME_LOCALE_LANGUAGE

Constant Value: "localeLanguage"

public static final String PARAM_NAME_PROJECT_ID

The ID of the project parameter.

Constant Value: "projectID"

public static final String PARAM_NAME_SESSION_FLAGS

Constant Value: "sFlags"

public static final String PARAM_NAME_SESSION_KEY

Constant Value: "sessionKey"

public static final String PARAM_NAME_TIME_ZONE

Constant Value: "timeZone"

public static final String PARAM_NAME_WORKING_SET_SIZE

Constant Value: "wsSize"

public static final String PROP_NAME_LOGINTASKDATA_OLD_SESSION_STATE

This constant is deprecated.
Replaced by PROP_NAME_LOGINTASKDATA_SESSION_STATE

This return tag is only included for backwards compatibility.

Constant Value: "session-state"

Fields

protected TaskParameterMetadata clientIDParam

protected TaskParameterMetadata clientTypeParam

protected TaskParameterMetadata defaultLocaleCountryParam

protected TaskParameterMetadata defaultLocaleLanguageParam

protected TaskParameterMetadata deviceIDParam

protected TaskParameterMetadata displayLocaleOverrideParam

protected TaskParameterMetadata displayLocaleParam

protected TaskParameterMetadata includeStatsSettingsParam

protected TaskParameterMetadata includeUserInfoParam

protected TaskParameterMetadata localeCountryParam

protected TaskParameterMetadata localeLanguageParam

protected TaskParameterMetadata messagesLocaleOverrideParam

protected TaskParameterMetadata messagesLocaleParam

protected TaskParameterMetadata metadataLocaleOverrideParam

protected TaskParameterMetadata metadataLocaleParam

protected TaskParameterMetadata numberLocaleOverrideParam

protected TaskParameterMetadata numberLocaleParam

protected TaskParameterMetadata projectIDTaskParam

protected TaskParameterMetadata sessionFlagsParam

protected TaskParameterMetadata sessionKeyParam

protected TaskParameterMetadata timeZoneParam

protected TaskParameterMetadata warehouseDataLocaleOverrideParam

protected TaskParameterMetadata warehouseDataLocaleParam

protected TaskParameterMetadata workingSetSizeParam

Public Constructors

public MobileLoginTask ()

Protected Methods

protected void addVersionInfo (Block block, WebIServerSession wiss)

protected void checkSession (TaskRequestContext context, WebIServerSession wiss, boolean skipCheck)

Throws
TaskException

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, String orgID)

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 boolean isAuthModeEnabled (WebIServerSession session)