public interface ThirdPartyAuthenticationCmd extends TaskCommand
If a WebSphere Commerce server is configured to authenticate against a third party system then this task command is called to either authenticate or update.
Before executing this task command, the methods listed below must be invoked.
setEnciphereMerchantKey or setMerchantKey setLogonId setPassword
If the setUpdateFlag is called, then upon execution of this task command, the credentials are updated in the database.
If the setUpdateFlag is not called, upon execution of this task command, verification of the credentials is performed. To determine whether the authentication is successful, call isValidCredentials.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
Deprecated.
The Copyright field.
|
static java.lang.String | defaultCommandClassName
Deprecated.
The Default command implementation class.
|
static java.lang.String | NAME
Deprecated.
The Command name.
|
Modifier and Type | Method and Description |
---|---|
boolean | isValidCredentials()
Deprecated.
After this command task is executed, a boolean result flag will be set to indicate if the authentication is successful.
|
void | setLogonId(java.lang.String strLogonId)
Deprecated.
Sets the logon ID under which the current user wishes to logon.
|
void | setPassword(java.lang.String strPassword)
Deprecated.
Sets the password to be used for authentication with the new Logon ID.
|
void | setUpdateFlag()
Deprecated.
This method is called to indicate that instead of performing verification of the credentials, the credentials should be set in the database.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
boolean isValidCredentials()
void setLogonId(java.lang.String strLogonId)
void setPassword(java.lang.String strPassword)
void setUpdateFlag()