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 » IBM MQ Java / JMS » JNDI equivalent of mqcf.createConnection(user, pass);

Post new topic  Reply to topic Goto page Previous  1, 2
 JNDI equivalent of mqcf.createConnection(user, pass); « View previous topic :: View next topic » 
Author Message
fjb_saper
PostPosted: Tue Jan 20, 2015 9:22 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

JBrew wrote:
JBrew wrote:
"MO71,IH03(rfhutil) will only allow you to set the alternate user Id on the message. For connection purposes the id you run the tool under is passed." Could it be a similar case or have you seen my use case work before with jms?

OK, So I tried again playing with RFHUtil and using the Set Conn Id option to set a user and password. No matter what I put there it is still trying to connect AND GET from the queue as my windows id. What am I doing wrong?

Using non java tools this is a feature. The user being passed will be the user you're logged in as. For Windows 8 you can pass a different authentication user, but that user is only used for authentication not for authorization...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
JBrew
PostPosted: Wed Jan 21, 2015 6:51 am    Post subject: Reply with quote

Newbie

Joined: 20 Jan 2015
Posts: 9

fjb_saper wrote:
JMS is supposed to work with JAAS. Open a PMR...


PMR came back with the correct answer, at least for JMS. Still working on figuring out BizTalk MQSC and RTHUtil.

IBM PMR wrote:
Hi Justin,
So from what you have posted Ibelieve you are trying to
passa userid from a WAS JMS client to MQ via a jndi
configured connection factory. Please let me know if I have
tht correct.
If so then there is a link that will really help here:
http://www-01.ibm.com/support/docview.wss?uid=swg21580097
The key bit that I find that trios up folks is that for the
configured userid in the 'authentication alias' to be flowed
to MQ, you have to be using indirect jndi lookups.
.
Please take a moment to review but in summary if no
MCAUSER is configured on the MQ svrconn channel you should
be able to create a J2C auth alias if you are using indirect
lookups if the res_auth property (resource reference) in the
deployment descriptor is set to CONTAINER.
Look for the section titled
"Authentication Aliases and indirect lookups".
Let me know if you have any questions.
regards, Rich Montjoy MQ L2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » JNDI equivalent of mqcf.createConnection(user, pass);
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.