ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ Authentication for PCF message

Post new topic  Reply to topic
 MQ Authentication for PCF message « View previous topic :: View next topic » 
Author Message
tellmey
PostPosted: Thu Jun 17, 2004 10:06 am    Post subject: MQ Authentication for PCF message Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jun 17, 2004 9:33 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tellmey
PostPosted: Fri Jun 18, 2004 10:08 am    Post subject: Thanks Reply with quote

Novice

Joined: 26 May 2004
Posts: 19

That is working !!!

Thanks Roger!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ Authentication for PCF message
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.