public interface ExternalSystemAuthenticationCmd extends ThirdPartyAuthenticationCmd
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
The Copyright field.
|
static java.lang.String |
defaultCommandClassName
The Default command implementation class.
|
static java.lang.String |
NAME
The Command name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthenticateUserId()
Gets the user id of the user after the authentication was successful.
|
isValidCredentials, setLogonId, setPassword, setUpdateFlag
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName