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 Discussion » Set UserId in RFH header using Native MQ

Post new topic  Reply to topic
 Set UserId in RFH header using Native MQ « View previous topic :: View next topic » 
Author Message
rajeshkumar23
PostPosted: Fri Jun 05, 2009 6:29 am    Post subject: Set UserId in RFH header using Native MQ Reply with quote

Newbie

Joined: 05 Jun 2009
Posts: 1

Hi All,

I am trying to override the user Id value in MQ message using the following statement:

MQEnvironment.userID="rajesh";

But i m getting authorization failure when i m trying to access the MQ Queue on windows env but on UNIX, its taking the same userId on which its working.

can anyone please help me out? how this authorization failure error can be removed.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Fri Jun 05, 2009 6:48 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

use setmqaut to grant the user access?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 05, 2009 7:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Don't use .NET?

Don't make a bindings connection?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 05, 2009 1:43 pm    Post subject: Re: Set UserId in RFH header using Native MQ Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rajeshkumar23 wrote:
But i m getting authorization failure when i m trying to access the MQ Queue on windows env but on UNIX, its taking the same userId on which its working.


Remember the security credentials are checked differently on Windows & Unix; ensure whoever did the setmqaut was aware of that.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 Discussion » Set UserId in RFH header using Native MQ
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.