|
|||||||||
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.BasicAuthPluginModel
public class BasicAuthPluginModel
Field Summary | |
---|---|
static int |
AUTHTYPE_ADMIN
|
static int |
AUTHTYPE_LOCKBOX
|
static int |
AUTHTYPE_REMOTE_SERVER
The following static strings are used by the Section as values returned by the Authentication Type radio buttons. |
static int |
AUTHTYPE_USER
|
static java.lang.String |
HTMLINPUT_LOGIN_NAME
This response variable gets us the Login Name |
static java.lang.String |
HTMLINPUT_PASSWORD
This response variable gets us the Password |
static java.lang.String |
HTMLRADIO_BASE_AUTH_TYPE
This response variable gets us the Basic Auth Settings |
static java.lang.String |
NULL_PASSWORD
This string is used in lieu of returning the actual password to the client. |
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 | |
---|---|
BasicAuthPluginModel()
|
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 |
GetAuthType()
Returns the strAuthTypeRadio. |
java.lang.String |
GetLoginName()
Returns the strLoginName. |
java.lang.String |
GetName()
Returns the Class name. |
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. |
void |
SetAuthType(int intAuthTypeRadio)
Sets the strAuthTypeRadio. |
void |
SetLoginName(java.lang.String strLoginName)
Sets the strLoginName. |
void |
SetPassword(java.lang.String strPassword)
Sets the strPassword. |
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 int AUTHTYPE_REMOTE_SERVER
public static final int AUTHTYPE_USER
public static final int AUTHTYPE_ADMIN
public static final int AUTHTYPE_LOCKBOX
public static final java.lang.String HTMLRADIO_BASE_AUTH_TYPE
public static final java.lang.String HTMLINPUT_LOGIN_NAME
public static final java.lang.String HTMLINPUT_PASSWORD
public static final java.lang.String NULL_PASSWORD
Constructor Detail |
---|
public BasicAuthPluginModel()
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 int GetAuthType()
GetAuthType
in interface IBasicAuthPluginModelRO
public java.lang.String GetLoginName()
GetLoginName
in interface IBasicAuthPluginModelRO
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)
public void SetAuthType(int intAuthTypeRadio)
intAuthTypeRadio
- The strAuthTypeRadio to setpublic void SetLoginName(java.lang.String strLoginName)
strLoginName
- The strLoginName to setpublic void SetPassword(java.lang.String strPassword)
strPassword
- The strPassword to set
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |