| java.lang.Object | |
| ↳ | com.microstrategy.web.app.MSTRLoginForm |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
MSTRLoginForm()
Class Constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int |
getAuthMode()
Returns the current setting of the authMode property, which determines the
type of credentials used upon creating a session to the Intelligence Server.
| ||||||||||
| String |
getFormErrorMessage()
If the Form Status is false, then the External Security Provider
can specify an error message for the Web Universal application
to display.
| ||||||||||
| boolean |
getFormStatus()
If the data supplied in the login form was successfully used to
construct a WebIServerSession, then the External Security Provider
set the Form Status to true.
| ||||||||||
| Locale |
getLocale()
Get the desired locale that the user is operating in
| ||||||||||
| String |
getLoginName()
Get the value of the Login name supplied by the user
| ||||||||||
| String |
getPassword()
Get the value of the Password supplied by the user
| ||||||||||
| String |
getProjectName()
Get the desired server project (if available)
| ||||||||||
| String |
getServerName()
Get the desired server name (if available)
| ||||||||||
| int |
getServerPort()
Get the desired server port (if available)
| ||||||||||
| WebIServerSession |
getWebIServerSession()
Get the WebIServerSession object that the Web Universal application
would use by default.
| ||||||||||
| void |
setAuthMode(int authMode)
Sets the current setting of the authMode property, which determines the
type of credentials used upon creating a session to the Intelligence Server.
| ||||||||||
| void |
setFormErrorMessage(String errMsg)
If the Form Status is false, then the External Security Provider
can specify an error message for the Web Universal application
to display.
| ||||||||||
| void |
setFormStatus(boolean status)
If the data supplied in the login form was successfully used to
construct a WebIServerSession, then the External Security Provider
should set the Form Status to true.
| ||||||||||
| void |
setLocale(Locale locale)
Set the desired locale that the user is operating in
| ||||||||||
| void |
setLoginName(String loginName)
Set the value of the Login name supplied by the user
| ||||||||||
| void |
setPassword(String password)
Set the value of the Password supplied by the user
| ||||||||||
| void |
setProjectName(String projectName)
Set the desired server project
| ||||||||||
| void |
setServerName(String serverName)
Set the desired server name
| ||||||||||
| void |
setServerPort(int serverPort)
Set the desired server port
| ||||||||||
| void |
setWebIServerSession(WebIServerSession session)
If the Form Status is true, then the External Security Provider
can specify the WebIServerSession object to use.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.microstrategy.web.app.LoginForm
| |||||||||||
Class Constructor
Returns the current setting of the authMode property, which determines the type of credentials used upon creating a session to the Intelligence Server.
EnumDSSXMLAuthModes.If the Form Status is false, then the External Security Provider can specify an error message for the Web Universal application to display.
String with the error message to assign.
If no message is provided (null), then the Web Application
can provide a generic error message.
If the data supplied in the login form was successfully used to construct a WebIServerSession, then the External Security Provider set the Form Status to true. If there was an error in the form data or a WebIServerSession could not be constructed, then the External Security Provider set this value to false.
boolean indicating the form status to assign.
Get the desired locale that the user is operating in
Get the value of the Login name supplied by the user
String with the login name given by the user
Get the value of the Password supplied by the user
String with the password given by the user
Get the desired server project (if available)
String with the server project information, if provided
Get the desired server name (if available)
String with the server name information, if provided
Get the desired server port (if available)
int with the server port information, if provided
Get the WebIServerSession object that the Web Universal application would use by default. This is constructed based on the values collected by the Web Application.
WebIServerSession instance that the application should use
for the current request
Sets the current setting of the authMode property, which determines the type of credentials used upon creating a session to the Intelligence Server.
| authMode | The authMode setting to use, from EnumDSSXMLAuthModes. |
|---|
If the Form Status is false, then the External Security Provider can specify an error message for the Web Universal application to display. If no message is provided (null), then the Web Application will provide a generic error message.
| errMsg | String with the error message to assign.
|
|---|
If the data supplied in the login form was successfully used to construct a WebIServerSession, then the External Security Provider should set the Form Status to true. If there was an error in the form data or a WebIServerSession could not be constructed, then the External Security Provider should set this value to false.
| status | boolean |
|---|
Set the desired locale that the user is operating in
| locale | Locale instance representing the locale the user has selected to work with |
|---|
Set the value of the Login name supplied by the user
| loginName | String with the login name given by the user
|
|---|
Set the value of the Password supplied by the user
| password | String with the password given by the user
|
|---|
Set the desired server project
| projectName | String with the server project information
|
|---|
Set the desired server name
| serverName | String with the server name information
|
|---|
Set the desired server port
| serverPort | int with the server port information
|
|---|
If the Form Status is true, then the External Security Provider can specify the WebIServerSession object to use.
| session | WebIServerSession instance to be used.
|
|---|