public interface VerifyCredentialsCmd extends TaskCommand
This command takes the input credentials and updates them in either the database, the LDAP server, or third-party system. Credentials are updated depending on how the WebSphere Commerce server is configured.
Before executing this task command, the methods listed below must be invoked.
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()
This method retrieves the user ID of the logged in user.
|
java.lang.String |
getLogonId()
This method retrieves the logon ID under which the current user wishes to log on.
|
boolean |
isValidCredentials()
After this command task is executed, a boolean result flag is
set to indicate if the authentication is successful.
|
void |
setLogonId(java.lang.String strLogonId)
This method sets the logon ID under which the current user wishes to logon.
|
void |
setPassword(java.lang.String strPassword)
This method sets the password to use for authentication with the
new logon ID.
|
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
java.lang.String getAuthenticateUserId()
java.lang.String getLogonId()
boolean isValidCredentials()
void setLogonId(java.lang.String strLogonId)
strLogonId
- The login ID.void setPassword(java.lang.String strPassword)
strPassword
- The password.