Securing the target queue manager objects

Set the authorization values for the objects on the target queue manager.

About this task

Use the setmqaut command to grant authorities to the user group running the application.

Procedure

  1. To grant the specified user group with connect authorization to the queue manager, on the command-line interface, type:
    
    setmqaut -m QM2 -t qmgr -g userGroup +connect
    
  2. To grant the specified user group with get authorization on the remote queue definition, in the command-line interface, type:
    
    setmqaut -m QM2 -t q -n "RECEIVEQUEUE" -g userGroup +get