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 API Support » .NET client and security exits

Post new topic  Reply to topic
 .NET client and security exits « View previous topic :: View next topic » 
Author Message
ope
PostPosted: Wed Jun 04, 2008 1:32 am    Post subject: .NET client and security exits Reply with quote

Newbie

Joined: 02 May 2008
Posts: 6

Can someone please confirm my understanding of connecting to WMQ queues in a WMQ server environment using a server connection.

Would I be right in assuming that no security exit is required when connecting to a web sphere mq server as a managed .NET client?

By this I mean can I just setup the client connection like this


MQEnvironment.properties.Add(MQC.TRANSPORT_PROPERTY,
MQC.TRANSPORT_MQSERIES_MANAGED);

MQEnvironment.Hostname = hostname;
MQEnvironment.Port = port;
MQEnvironment.Channel = serverConnectionChannelName;

// Create the new QueueManager
queueManager = new MQQueueManager(managerName);

Without having to add:

MQEnvironment.SecurityExit = securityExitPath;
MQEnvironment.SecurityUserData = securityUserData;

By SecurityExitPath, I mean the path to the location of the security exit assembly (dll) which is an exact copy of the security exit configured on the server connection channel.

The connection is via a .NET client using the amqmdnet.

Any help will be much appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 04, 2008 1:40 am    Post subject: Reply with quote

Grand High Poobah

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

The assumption is incorrect.
The need for a security exit is defined by the server not the client.
You may be able to connect without a security exit client side but this depends on your security exit server side (block IP2 does not require a security exit client side)

Have fun...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
ope
PostPosted: Wed Jun 04, 2008 6:34 am    Post subject: Reply with quote

Newbie

Joined: 02 May 2008
Posts: 6

Thanks for your response.

I don't have an MQ environment. By client side, do you mean the MQ client? All I am doing is connecting to a queue manager on an MQ server through a server connection channel on which the security exit is configured. I guess, like you said, it depends on what the security exit server side does.

Another question, if I was connecting to an MQ client from my .NET client application which then connects to the MQ server. If they both have security exits installed. Will my assumption be correct?

Unfortunately, I don't have details of what the security exit does. The only information I have is the connection details [channel, host, port, qm, queue, security exit dll location and userdata information]

I guess, if I always provide the path to the security exit [wherever it resides] i.e.
MQEnvironment.SecurityExit = securityExitPath;
MQEnvironment.SecurityUserData = securityUserData;

then I am safe, right?

Have you got any good references which detail security exits and .NET clients apart from the 'Using .NET' redbook. I am currently using that.

Thanks for you help.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 04, 2008 3:18 pm    Post subject: Reply with quote

Grand High Poobah

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

You HAVE to talk to the people doing the admin for the server side. They are the only ones who can tell you whether or not you need a security exit, what it needs to be / do

The .NET API just provided you with a place where to plug in your client side security exit should you need one...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Wed Jun 04, 2008 7:18 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

ope wrote:
I guess, if I always provide the path to the security exit [wherever it resides] i.e.
MQEnvironment.SecurityExit = securityExitPath;

No, that doesn't look right. Please read pages 22-24 of WMQ Using .NET manual.

What does the manual for the security exit say?

What is the name of your security exit?

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » .NET client and security exits
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.