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 » SECURITY_AUTHENTICATION parameter on JMS CONTEXT_FACTORY

Post new topic  Reply to topic
 SECURITY_AUTHENTICATION parameter on JMS CONTEXT_FACTORY « View previous topic :: View next topic » 
Author Message
silentflute
PostPosted: Tue Jul 01, 2008 11:49 am    Post subject: SECURITY_AUTHENTICATION parameter on JMS CONTEXT_FACTORY Reply with quote

Apprentice

Joined: 14 Jul 2004
Posts: 32

Fellow MQ'ers,

I setting up a JMS client connection, that uses the BlockIP2 channel security program.

The JMS configuration file looks like:

INITIAL_CONTEXT_FACTORY=com.ibm.mq.jms.context.WMQInitialContextFactory
PROVIDER_URL=123.456.78.90:1414/MY.JMS.SVRCONN
SECURITY_AUTHENTICATION=simple


At the moment, the SECURITY_AUTHENTICATION is set to simple, which means that a user id and password has to be entered.

I also know by using the PROVIDER_USERDN and PROVIDER_PASSWORD parameters, I can set these values in the configuration file.

But the user id, that is set in the BlockIP2 configuration file is a functional user id which I do not have access to the password.

Does anyone know of any other method to pass only the used id and be able to secure a JMS client that is using the BlockIP2 security program?


Thanks ...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 01, 2008 2:51 pm    Post subject: Reply with quote

Grand High Poobah

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

Have you tried:
qcf.createConnection(username, "");

Although normally and in a J2EE environment you should let the JAAS setup of the QCF take over this aspect.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » SECURITY_AUTHENTICATION parameter on JMS CONTEXT_FACTORY
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.