XMSC_PASSWORD

    Data type:
    Byte array

    Property of:
    ConnectionFactory

A password that can be used to authenticate the application when it attempts to connect to a messaging server. The password is used with the XMSC_USERID property.

By default, the property is not set.

If we are connecting to IBM MQ on Multiplatforms, and you set the XMSC_USERID property of the connection factory, it must match the userid of the logged on user. If you do not set these properties, the queue manager uses the userid of the logged on user by default. If you require further connection-level authentication of individual users we can write a client authentication exit which is configured in IBM MQ. For more information about creating a client authentication exit, see Plan authentication for a client application.

To authenticate the user when connecting to IBM MQ for z/OS you need to use a security exit.

Parent topic: Property definitions