This controller command logs the user into the system. If the user is logging in from a guest shopper identity then the resources that exist under the guest shopper identity is migrated to the identity to which the user is logging in.
Before executing this task command, the methods listed below must be invoked.
setLogonId setPassword setReLogonURL setPostLogonURL
Upon successful authentication, the user is redirected to the URL specified by setPostLogonURL. Upon unsuccessful authentication, the user is redirected to the URL specified by setReLogonURL.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright field. |
static java.lang.String |
defaultCommandClassName Default command implementation class. |
static java.lang.String |
NAME Command name. |
Method Summary | |
---|---|
java.lang.String |
getAuthenticateUserId() Retrieves the userId of the logged in user. |
void |
setLogonId(java.lang.String strLogonId) Sets the logonId under which the current user wishes to logon. |
void |
setLogonPassword(java.lang.String strPassword) Sets the password to be used for authentication with the new logon ID. |
void |
setPostLogonURL(java.lang.String strPostLoginURL) Sets the URL to which the user should be redirected after successful authentication. |
void |
setReLogonURL(java.lang.String strReLoginURL) Sets the URL to which the user should be redirected to if authentication was unsuccessful. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.String getAuthenticateUserId()
public void setLogonId(java.lang.String strLogonId)
strLogonId
- The logonId.public void setLogonPassword(java.lang.String strPassword)
strPassword
- The password.public void setPostLogonURL(java.lang.String strPostLoginURL)
strPostLoginURL
- The post login URL.public void setReLogonURL(java.lang.String strReLoginURL)
strReLoginURL
- The relogin login URL.