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 » MQCSP maximum password length restriction?

Post new topic  Reply to topic
 MQCSP maximum password length restriction? « View previous topic :: View next topic » 
Author Message
garbagedook
PostPosted: Tue Apr 07, 2009 12:15 pm    Post subject: MQCSP maximum password length restriction? Reply with quote

Novice

Joined: 15 May 2006
Posts: 11

Hi folks,

I have written a client MQSecurityExit in Java that creates an MQCSP structure (MQConnectionSecurityParameters) that puts in a username and password.

Everything works fine, except when the password exceeds 12 characters. It seems as though the java libraries are automatically truncating the password to 12 chars.

Is there a reason for this?

For example:

createConnection("user", "pass") will result in "user" and "pass" in the MQSecurityExit.

however,

createConnection("user", "passwordpassword") will result in "user" and "passwordpass" in the MQSecurityExit

Thanks,
Duke
Back to top
View user's profile Send private message
garbagedook
PostPosted: Fri Apr 17, 2009 8:59 am    Post subject: Reply with quote

Novice

Joined: 15 May 2006
Posts: 11

I opened a PMR with IBM.

They have confirmed this behavior and agree that is it not intended for the MQCSP structure.

They are looking into what they can do about it.

Just some more info. The truncating is being done in com.ibm.mq.MQv6InternalCommunications in the processProperties() method.

I've asked IBM to check to make sure other languages are not doing the same truncating.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Apr 17, 2009 11:13 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Just for the rest of us, what version of MQ do you see this behavior on?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 17, 2009 11:54 pm    Post subject: Reply with quote

Grand High Poobah

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

garbagedook wrote:
The truncating is being done in com.ibm.mq.MQv6InternalCommunications in the processProperties() method.

I thought this was a clear indication for MQ V6 ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Apr 18, 2009 1:57 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
garbagedook wrote:
The truncating is being done in com.ibm.mq.MQv6InternalCommunications in the processProperties() method.

I thought this was a clear indication for MQ V6 ?


Yes... 6.0.0.0? 6.0.2.6?
Back to top
View user's profile Send private message
garbagedook
PostPosted: Tue Apr 21, 2009 4:28 pm    Post subject: Reply with quote

Novice

Joined: 15 May 2006
Posts: 11

all the 6* and 7* versions are affected.

the .net libraries are not affected...they work fine and have no limit on the lengths.

Thanks,
Duke
Back to top
View user's profile Send private message
garbagedook
PostPosted: Mon Apr 27, 2009 1:11 pm    Post subject: Reply with quote

Novice

Joined: 15 May 2006
Posts: 11

I got the fix from IBM and tested it and it works. There is no restriction on length.

They said they are going to release this fix in their next release.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Mon Apr 27, 2009 3:08 pm    Post subject: Reply with quote

Jedi Knight

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

Hi,

What is the APAR number? i.e. IC?????

Regards,
Roger Lacroix
_________________
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 » General IBM MQ Support » MQCSP maximum password length restriction?
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.