|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Authentication for PCF message |
« View previous topic :: View next topic » |
Author |
Message
|
tellmey |
Posted: Thu Jun 17, 2004 10:06 am Post subject: MQ Authentication for PCF message |
|
|
 Novice
Joined: 26 May 2004 Posts: 19
|
Hello All,
Heres the scenario:
We use PCF message to issue start channel. And the PCF message is put by a C program and it is done locally.
MQ uses the ID that the system is logged on to authenticate this PCF message. MQ takes lot longer to authenticate when a Domain ID is loggged on instead of a local user id.
I had like to set the userid that MQ uses to authenticate, regardless of the ID the system is logged on with.
And for this I have tried setting the UserIdentifier field in the MQMD of this message.
Code: |
strcpy(MsgDesc.UserIdentifier, "whaever"); |
But this didnt seem to work.
I am investigating at other ways to try to do this.
Any suggestions??
Thanks |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Jun 17, 2004 9:33 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
The UserID attribute is part of the context data. Therefore, you need to enable SET_CONTEXT on the MQOPEN and also add it to the PMO (Put Message Option) for the MQPUT.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
tellmey |
Posted: Fri Jun 18, 2004 10:08 am Post subject: Thanks |
|
|
 Novice
Joined: 26 May 2004 Posts: 19
|
That is working !!!
Thanks Roger! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|