RemotePassword (MQCHAR12)

This field specifies the password from a partner.

This field contains valid information only if ChannelType is MQCHT_CLNTCONN or MQCHT_SVRCONN.
  • For a security exit at an MQCHT_CLNTCONN channel, this password is a password which has been obtained from the environment. The exit can choose to send it to the security exit at the server.
  • For a security exit at an MQCHT_SVRCONN channel, this field might contain a password which has been obtained from the environment at the client, if there is no client security exit. The exit can use this password to validate the user identifier in RemoteUserIdentifier.

    If there is a security exit at the client, then this information can be obtained in a security flow from the client.

The length of this field is given by MQ_PASSWORD_LENGTH. This field is not present if Version is less than MQCD_VERSION_2.