com.ibm.commerce.member.facade.server.commands

Class AcknowledgePersonCmdImpl

  • All Implemented Interfaces:
    MessageMappingResponseCmd, com.ibm.websphere.command.Command, java.io.Serializable


    public class AcknowledgePersonCmdImpl
    extends AbstractMemberResponseBaseCmdImpl
    Builds the AcknowledgePerson BOD in response to the ProcessPerson BOD request.
    • In response to Register and RegisterWithCheckoutProfile actions, the response includes the following:
      • /Person/PersonIdentifier/UniqueID
      • /Person/PersonIdentifier/DistinguishedName
      • /Person/ContactInfo/ContactInfoIdentifier/UniqueID
      • /Person/ContactInfo/ContactInfoIdentifier/ExternalIdentifier/ContactInfoNickName
      • /Person/Credential/UserData/UserDataField that contains the following data: updatedUserId - this is passed in the case of registration with email activation to signify the generic user ID to run as while waiting for the registration to be activated.
    • In response to AuthenticatePassword action, the response includes the following:
      • /Person/PersonIdentifier/UniqueID
      • /Person/Credential/UserData/UserDataField that contains the following data: identityTokenID and identityTokenSignature
    • In response to both the AuthenticateLTPA and AuthenticateWCTokens actions, the response includes the following:
      • /Person/PersonIdentifier/UniqueID
      • /Person/Credential/LogonID
      • /Person/Credential/UserData/UserDataField that contains the following data: identityTokenID and identityTokenSignature
      If there is an error during AuthenticatePassword, a ChangeStatus element is added to the response. The following reason codes (consisting of message key and error code) are possible:
      • _ERR_AUTHENTICATION_ERROR+2030: The specified logon ID or password are not correct.
      • _ERR_PERSON_ACCOUNT_DISABLED+2110: The person's account is disabled.
      • _ERR_PERSON_ANCESTOR_ORG_LOCKED+2400: An ancestor organization is locked.
      • _ERR_PERSON_HAS_NO_ROLES_IN_STORE+2410: The person does not have a role in the store's organizational hierarchy.
      • _ERR_PERSON_REGISTRATION_PENDING_APPROVAL+2420: The registration is pending approval.
      • _ERR_LOGIN_NOT_ALLOWED_NOW+2300: The person must wait before logging in again.
      • _ERR_PASSWORD_EXPIRED+2170: The current password has expired. A new password must be specified.
      • _ERR_PASSWORD_RESET+2430: Your password has been reset. Please retrieve the temporary password from your email and login again.
    • In response to other actions, for example ResetPassword, the response includes the following:
      • /Person/PersonIdentifier/UniqueID
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • AcknowledgePersonCmdImpl

        public AcknowledgePersonCmdImpl()
        Constructor
    • Method Detail

      • execute

        public void execute()
                     throws com.ibm.websphere.command.CommandException
        Builds the AcknowledgePerson BOD in response to the ProcessPerson BOD request.
        • In response to Register and RegisterWithCheckoutProfile actions, the response includes the following:
          • /Person/PersonIdentifier/UniqueID
          • /Person/PersonIdentifier/DistinguishedName
          • /Person/ContactInfo/ContactInfoIdentifier/UniqueID
          • /Person/ContactInfo/ContactInfoIdentifier/ExternalIdentifier/ContactInfoNickName
          • /Person/Credential/UserData/UserDataField that contains the following data: updatedUserId - this is passed in the case of registration with email activation to signify the generic user ID to run as while waiting for the registration to be activated.
        • In response to AuthenticatePassword action, the response includes the following:
          • /Person/PersonIdentifier/UniqueID
          • /Person/Credential/UserData/UserDataField that contains the following data: identityTokenID and identityTokenSignature
        • In response to AuthenticateLTPA action, the response includes the following:
          • /Person/PersonIdentifier/UniqueID
          • /Person/Credential/LogonID
          • /Person/Credential/UserData/UserDataField that contains the following data: identityTokenID and identityTokenSignature
          If there is an error during AuthenticatePassword, a ChangeStatus element is added to the response. The following reason codes (consisting of message key and error code) are possible:
          • _ERR_AUTHENTICATION_ERROR+2030: The specified logon ID or password are not correct.
          • _ERR_PERSON_ACCOUNT_DISABLED+2110: The person's account is disabled.
          • _ERR_PERSON_ANCESTOR_ORG_LOCKED+2400: An ancestor organization is locked.
          • _ERR_PERSON_HAS_NO_ROLES_IN_STORE+2410: The person does not have a role in the store's organizational hierarchy.
          • _ERR_PERSON_REGISTRATION_PENDING_APPROVAL+2420: The registration is pending approval.
          • _ERR_LOGIN_NOT_ALLOWED_NOW+2300: The person must wait before logging in again.
          • _ERR_PASSWORD_EXPIRED+2170: The current password has expired. A new password must be specified.
          • _ERR_PASSWORD_RESET+2430: Your password has been reset. Please retrieve the temporary password from your email and login again.
        • In response to other actions, for example ResetPassword, the response includes the following:
          • /Person/PersonIdentifier/UniqueID
        Throws:
        com.ibm.websphere.command.CommandException - if an error occurs.
      • reset

        public void reset()
        Sets the instance variables to null.