Class UserRegistrationAddWithApprovalCheckCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, UserRegistrationAddCmd, UserRegistrationCmd,,,,,,

    public class UserRegistrationAddWithApprovalCheckCmdImpl
    extends UserRegistrationAddCmdImpl
    The UserRegistrationAddWithApprovalCheckCmdImpl command creates a registration record for the user.

    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 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.

    See Also:
    UserRegistrationAddCmdImpl, Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UserRegistrationAddWithApprovalCheckCmdImpl

        public UserRegistrationAddWithApprovalCheckCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Creates the new user. It depends on command registry of the UserRegistrationAddCheckApprovalCmd to either put the user into approved state (in auto approval case) or pending for activation state (in e-mail activation case). The parent member of the user has to be the Default Organization for this implementation.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class UserRegistrationAddCmdImpl
        ECException - If there is a problem creating the user.