|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
If server is configured to authenticate against a third party system then this task command will be called to perform either authentication or an 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 was successful, call isValidCredentials.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
defaultCommandClassName
|
static java.lang.String |
NAME
|
Method Summary | |
boolean |
isValidCredentials()
After this command task is executed, a boolean result flag will be set to indicate if the authentication was successful. |
void |
setLogonId(java.lang.String strLogonId)
Sets the logon ID under which the current user wishes to logon. |
void |
setPassword(java.lang.String strPassword)
Sets the password to be used for authentication with the new Logon ID. |
void |
setUpdateFlag()
This method is called to indicate that instead of performing verification of the credentials, the credentials should be set in the database. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String defaultCommandClassName
public static final java.lang.String NAME
Method Detail |
public boolean isValidCredentials()
public void setLogonId(java.lang.String strLogonId)
strLogonID
- The logon ID.public void setPassword(java.lang.String strPassword)
strPassword
- The password.public void setUpdateFlag()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |