public class CheckGiftRegistryCredentialsCmdImpl extends BusinessObjectDocumentCmdImpl implements CheckGiftRegistryCredentialsCmd
AuthenticationGiftRegistryBOD
as an input parameter. The
AuthenticationGiftRegistryBOD
must contain a gift registry ExternalId. A password
is optional. If no password is supplied, the user is validated on the basis that:
GiftRegistryContext
).GiftRegistryRegistrantDataBean.getUserId()
.
value is checked against the users Id in the GiftRegistryContext
AuthenticationGiftRegistryBOD
has a password, thenAuthenticationGiftRegistryBOD
has no password, then
ConfirmAuthenticationGiftRegistryBOD
getConfirmation().equals(Confirmation.SUCCESS)
GiftRegistryMessage._ERR_EC_AUTHENTICATION_PASSWORD_FAILED
GiftRegistryMessage._ERR_EC_AUTHENTICATION_PASSWORD_REQUIRED
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASSNAME
Classname com.ibm.commerce.component.giftregistry.commands.CheckGiftRegistryCredentialsCmdImpl
|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
CheckGiftRegistryCredentialsCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Executes this command.
|
getResultBOD, setRequestBOD
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getResultBOD, setRequestBOD
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException