|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.editor.EditorHelperModel com.plumtree.portalpages.admin.editors.webservice.plugins.FormLoginPluginModel
public class FormLoginPluginModel
Field Summary | |
---|---|
static int |
CREDENTIAL_TYPE_LOCKBOX_AUTH
|
static int |
CREDENTIAL_TYPE_NONE
constants |
static int |
CREDENTIAL_TYPE_PORTAL_AUTH
|
static java.lang.String |
HTMLINPUT_LOGINURL
URLs - login and post |
static java.lang.String |
HTMLINPUT_PASSWORD_FIELD_NAME
|
static java.lang.String |
HTMLINPUT_POSTURL
|
static java.lang.String |
HTMLINPUT_USERNAME_FIELD_NAME
Form Fields - username and password |
static java.lang.String |
HTMLRADIO_CREDENTIAL_TYPE
Radio - credential type to be sent (see constants below) |
static java.lang.String |
STR_MVC_CLASS_NAME
This object's name |
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
m_asOwner |
Constructor Summary | |
---|---|
FormLoginPluginModel()
|
Method Summary | |
---|---|
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed objects. |
void |
DoTaskBeforeWSStore()
Sub models are expected to store themselves to the ptWebService object passed in in InitWSModel during this call. |
void |
DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID,
java.lang.String strRemoteServerName,
java.lang.String strRemoteServerBaseURL)
Called when the Remote Server is changed. |
void |
DoTaskOnWSModeUpdate(int nNewWSMode)
Called when the Web Service type is changed. |
int |
GetCredentialType()
Returns a series of constants representing the type of credential to send. |
java.lang.String |
GetLoginURL()
The URL to that identifies a login URL - this can be a pattern with '*' characters to do wildcard matches. |
java.lang.String |
GetName()
Returns the Class name. |
java.lang.String |
GetPasswordFieldName()
Returns the HTML field to send the password as to the POST URL. |
java.lang.String |
GetPostURL()
The URL that credentials should be POSTed to. |
java.lang.String |
GetUsernameFieldName()
Returns the HTML field to send the username as to the POST URL. |
java.lang.String |
GetValidationFunction()
This returns the name of the client-side validation function that the model wants added to the page-level validation funtion. |
void |
InitWSModel(IPTWebService ptWebService)
Initializes the sub-model. |
int |
SaveSection(XPHashtable _htFormData)
Code to save the section represented by this Model. |
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorHelperModel |
---|
CleanupAllData, CleanupTempData, Init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_MVC_CLASS_NAME
public static final java.lang.String HTMLINPUT_LOGINURL
public static final java.lang.String HTMLINPUT_POSTURL
public static final java.lang.String HTMLINPUT_USERNAME_FIELD_NAME
public static final java.lang.String HTMLINPUT_PASSWORD_FIELD_NAME
public static final java.lang.String HTMLRADIO_CREDENTIAL_TYPE
public static final int CREDENTIAL_TYPE_NONE
public static final int CREDENTIAL_TYPE_PORTAL_AUTH
public static final int CREDENTIAL_TYPE_LOCKBOX_AUTH
Constructor Detail |
---|
public FormLoginPluginModel()
Method Detail |
---|
public java.lang.Object Create()
EditorHelperModel
Create
in interface IManagedObject
Create
in class EditorHelperModel
IManagedObject.Create()
public void DoTaskBeforeWSStore()
IWSSubModel
DoTaskBeforeWSStore
in interface IWSSubModel
IWSSubModel.DoTaskBeforeWSStore()
public void DoTaskOnRemoteServerUpdate(java.lang.String strRemoteServerID, java.lang.String strRemoteServerName, java.lang.String strRemoteServerBaseURL)
IWSSubModel
DoTaskOnRemoteServerUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnRemoteServerUpdate(String,
String, String)
public void DoTaskOnWSModeUpdate(int nNewWSMode)
IWSSubModel
DoTaskOnWSModeUpdate
in interface IWSSubModel
IWSSubModel.DoTaskOnWSModeUpdate(int)
public java.lang.String GetLoginURL()
IFormLoginPluginModelRO
GetLoginURL
in interface IFormLoginPluginModelRO
public java.lang.String GetPostURL()
IFormLoginPluginModelRO
GetPostURL
in interface IFormLoginPluginModelRO
public int GetCredentialType()
IFormLoginPluginModelRO
GetCredentialType
in interface IFormLoginPluginModelRO
public java.lang.String GetPasswordFieldName()
IFormLoginPluginModelRO
GetPasswordFieldName
in interface IFormLoginPluginModelRO
public java.lang.String GetUsernameFieldName()
IFormLoginPluginModelRO
GetUsernameFieldName
in interface IFormLoginPluginModelRO
public java.lang.String GetName()
EditorHelperModel
GetName
in interface IMVCObject
GetName
in class EditorHelperModel
IMVCObject.GetName()
public java.lang.String GetValidationFunction()
IWSSubModel
GetValidationFunction
in interface IWSSubModel
IWSSubModel.GetValidationFunction()
public void InitWSModel(IPTWebService ptWebService)
IWSSubModel
InitWSModel
in interface IWSSubModel
com.plumtree.portalpages.admin.editors.webservice.IWSSubModel#InitWSModel()
public int SaveSection(XPHashtable _htFormData)
EditorHelperModel
SaveSection
in class EditorHelperModel
_htFormData
- Form posted data.
EditorHelperModel.SaveSection(XPHashtable)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |