AuthenticationType (MQLONG)

AuthenticationType is an input field. Its initial value is MQCSP_AUTH_NONE.

This is the type of authentication to perform. Valid values are:

    MQCSP_AUTH_NONE
    Do not use user ID and password fields.

    MQCSP_AUTH_USER_ID_AND_PWD
    Authenticate user ID and password fields.

The default value is MQCSP_AUTH_NONE. With the default setting, no password protection is done.

If you require authentication, we have to set MQCSP.AuthenticationType to MQCSP_AUTH_USER_ID_AND_PWD.

See MQCSP password protection for more information.