public class UserRegistrationAddWithApprovalCheckCmdImpl extends UserRegistrationAddCmdImpl
Use this command with SSL (Secure Sockets Layer) to ensure that the customer's logon password and personal information are encrypted. To do this, type the command with the HTTPS secure protocol.
The following parameters are mandatory: URL, logonId, logonPassword and logonPasswordVerify. The remaining the parameters are all optional.
If the Authentication Mode is LDAP, the parameter lastName is also mandatory.
The class calls the com.ibm.commerce.member.facade.server.commands.UserRegistrationAddCheckApprovalCmd task command The different implementations of the task command decides if the user is automatically approved or if it needs e-mail activation.
If e-mail activation is required, a "pendingReason" as the property is added to the response properties with the value of "email", to indicate the user is in pending email activation state. As well, "updatedUserId" is put on the response properties with the generic user ID so that the ComponentServiceAction can update its command context to the generic user.
The new user must be registered under WebSphere Commerce Default Organization in this implementation.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
UserRegistrationAddWithApprovalCheckCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | checkParentOrganization(java.lang.String parentMemberId)
Checks the parent organization.
|
void | performExecute()
Creates the new user.
|
public static final java.lang.String COPYRIGHT
public UserRegistrationAddWithApprovalCheckCmdImpl()
public void performExecute() throws ECException
protected void checkParentOrganization(java.lang.String parentMemberId) throws ECApplicationException