Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
I have a Java app which issues an XML message to start an instance of an MQWorkflow process. In this app I set the MQC.MQOO_SET_IDENTITY_CONTEXT option prior to opening EXEXMLINPUTQ. Prior to sending the message I set the MQMessage.userId = "Noauthority". This is a user I have defined who has NO authoritiy to EXEXMLINPUTQ. This is verifiable with the following command:
C:>dspmqaut -m FMCQM -t queue -n EXEXMLINPUTQ -p noauthority
This command reports back NO authorizations for this queue.
What I don't understand is that this message gets put on the EXEXMLINPUTQ. If the specified user doesn't have authority to do puts how can this be? NOTE, I am not logged into WindowsNT using this ID, I am logged in using an id that is a member of the mqm group.
The good news is that MQWorkflow rejects the process start with an Rc = 10 (No such User). But what I really want to happen is MQSeries to prevent the put from being done in the first place.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum