public class

UsherRegisterUserTask

extends LoginTask
implements EnumUsherRequest
java.lang.Object
   ↳ com.microstrategy.web.tasks.AbstractBaseTask
     ↳ com.microstrategy.web.tasks.LoginTask
       ↳ com.microstrategy.web.app.tasks.UsherRegisterUserTask

Summary

Constants
int DISABLE_USHER_REGISTRATION
int ENABLE_USHER_REGISTRATION
String PARAM_NAME_EMAIL
int USE_ISERVER_USEREMAIL_REGISTRATION
String USHER_REGISTRATION_OPTIONS
[Expand]
Inherited Constants
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
From interface com.microstrategy.web.app.utils.usher.EnumUsherRequest
[Expand]
Inherited Fields
From class com.microstrategy.web.tasks.LoginTask
From class com.microstrategy.web.tasks.AbstractBaseTask
Public Constructors
UsherRegisterUserTask()
Public Methods
void processRequest(TaskRequestContext trc, TaskOutput taskOutput)
Creates an Intelligence Server session using the information supplied in the request.
Protected Methods
void checkAuthParameters(String server, int port, String project, String login, String password, int authMode)
Ensures various authentication parameters are correctly configured, such as validating the server name is not an empty string.
void checkSession(TaskRequestContext context, WebIServerSession wiss)
String configure(Block block, TaskRequestContext context, WebIServerSession wiss)
void configureWebIServerSession(TaskRequestContext trc, WebIServerSession wiss, String server, int port, String project, String login, String password, int authMode, String twoStepCode, String accessToken)
[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 int DISABLE_USHER_REGISTRATION

Constant Value: 0 (0x00000000)

public static final int ENABLE_USHER_REGISTRATION

Constant Value: 1 (0x00000001)

public static final String PARAM_NAME_EMAIL

Constant Value: "email"

public static final int USE_ISERVER_USEREMAIL_REGISTRATION

Constant Value: 2 (0x00000002)

public static final String USHER_REGISTRATION_OPTIONS

Constant Value: "usherRegistrationOption"

Public Constructors

public UsherRegisterUserTask ()

Public Methods

public void processRequest (TaskRequestContext trc, TaskOutput taskOutput)

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

Parameters
trc 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 checkAuthParameters (String server, int port, String project, String login, String password, int authMode)

Ensures various authentication parameters are correctly configured, such as validating the server name is not an empty string.

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 trc, WebIServerSession wiss, String server, int port, String project, String login, String password, int authMode, String twoStepCode, String accessToken)

Throws
TaskException