Author |
Message
|
PeterPotkay |
Posted: Mon Apr 17, 2006 12:56 pm Post subject: Security User Data for MQCONNX in VB.NET |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Unless I'm missing something, you can't set the Security Exit Data in VB.NET? You can only set Security Exit?
From the Using .NET Manual 6.0:
Quote: |
The properties parameter takes a series of key/value pairs that describe
the WebSphere MQ environment for this particular queue manager. These
properties, where specified, override the values set by the MQEnvironment
class, and allow the individual properties to be set for any queue manager.
The properties which may be specified are as follows:
v MQC.CONNECT_OPTIONS_PROPERTY
v MQC.CONNNAME_PROPERTY
v MQC.HOST_NAME_PROPERTY
v MQC.PORT_PROPERTY
v MQC.CHANNEL_PROPERTY
v MQC.SSL_CIPHER_SPEC_PROPERTY
v MQC.SSL_PEER_NAME_PROPERTY
v MQC.SSL_CERT_STORE_PROPERTY
v MQC.SSL_CRYPTO_HARDWARE_PROPERTY
v MQC.SECURITY_EXIT_PROPERTY
v MQC.SEND_EXIT_PROPERTY
v MQC.RECEIVE_EXIT_PROPERTY
v MQC.MSG_EXIT_PROPERTY
v MQC.USER_ID_PROPERTY
v MQC.PASSWORD_PROPERTY
v MQC.MQAIR_ARRAY
v MQC.KEY_RESET_COUNT
v MQC.FIPS_REQUIRED
v MQC.HDR_CMP_LIST
v MQC.MSG_CMP_LIST
For descriptions of these properties, see the corresponding property
description in “MQEnvironment” on page 32. Figure 6 on page 73 shows
an example of a program to create a queue manager with its user ID and
password defined in a hash table.
|
 _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
wschutz |
Posted: Mon Apr 17, 2006 5:36 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Peter, can you access the MQEnvironment class, where you can set it?
Quote: |
SecurityExit
public static String SecurityExit {get; set;}
A security exit allows you to customize the security flows that occur when an attempt is made to connect to a queue manager. If securityExit is set to null, no security exit will be called.
SecurityUserData
public static String SecurityUserData {get; set;}
The user data associated with a security exit. Limited to 32 characters.
|
_________________ -wayne |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Apr 18, 2006 9:22 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
I see that above quote in the MQ Info center. But SecurityUserData is not present in the IDE. I am running MQ 6.0.1.0 on XP SP2. SecurityUserData is also not listed in the Using .NET 6.0 PDF that I downloaded a couple months back.
PMR time? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 18, 2006 9:29 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You mean it doesn't show up in code completion?
Does it build and execute? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Apr 18, 2006 9:31 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
When I type in "MQEnvironment." the little drop down box pops up allowing me to select from all the available endings. SecurityExit is there. SecurityUserData is not. And if I try and just manually type out MQEnvironment.SecurityUserData, it barks at me. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 18, 2006 9:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Does it "build" (or whatever facimile to this that VB.NET uses) and can you run the code? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Apr 18, 2006 9:42 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
jefflowrey wrote: |
Does it "build" (or whatever facimile to this that VB.NET uses) and can you run the code? |
Nope. At build/compile time, it throws the error:
Code: |
'SecurityUserData is not a member of 'IBM.WMQ.MQEnvironment'.
|
Code: |
X:\>dspmqver
Name: WebSphere MQ
Version: 6.0.1.0
CMVC level: p600-100-051021
BuildType: IKAP - (Production)
X:\>
|
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 18, 2006 9:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Sounds like PMR time to me. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mrlinux |
Posted: Tue Apr 18, 2006 11:25 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Sounds Like typo to me _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
mvic |
Posted: Tue Apr 18, 2006 11:31 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Apr 18, 2006 11:35 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Kewl, thanks mvic. I had already opened the PMR. Unless it turns up something different, I'll just wait until 6.0.1.1 comes and test it then. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 18, 2006 11:36 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If it's fixed in 6.0.1.1, then you should be able to get an e-fix for it now. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Apr 20, 2006 4:02 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
jefflowrey wrote: |
If it's fixed in 6.0.1.1, then you should be able to get an e-fix for it now. |
From IBM...
Quote: |
Peter,
Below is the response we received from our change Team on this
--------------------------------------------------------------------
SecurityUserData, SendUserData or ReceiveUserData are not member of
MQEnvironment class until MQ V600 and Refresh pack1. Hence the customer
will not be able to set the value of these properties. These properties
are added as part of the .Net fully managed client and this will be
shipped only in 6.0.1.1. We will not be able to provide an i-fix for
this. Regards, Maya
-------------------------------------------------------
Thanks David for Tameka
WebSphere® MQ Level 2 Support - Distributed Platforms
http://www-306.ibm.com/software/integration/wmq/support
|
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 20, 2006 4:08 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I guess it's a "new feature" not a fix. The item that apparently needs to be "fixed" is the documentation... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|