|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
UsernamePassword Propagation for Long Usernames |
« View previous topic :: View next topic » |
Author |
Message
|
jayZ |
Posted: Mon Jun 10, 2013 11:58 am Post subject: UsernamePassword Propagation for Long Usernames |
|
|
Acolyte
Joined: 03 Jun 2008 Posts: 71
|
I am attempting to apply multiple levels of security in a message flow and have run into an issue with names longer than 12 characters. The scenario is like this:
1. SOAP Input Authenitcates User
2. Flow Passes Request to One of Many Provider Flow Flows
3. MQ Input on the Provider Message Flow Authenticates and Authorizes User for the Prodiver Service
This approach is being used because different policys may be enforced depending on the provider.
My problem is when the username is longer than 12 characters, it gets truncated. After checking the infocenter, I found that there is a field (MQ_USER_ID_LENGTH) that can be used to specify the length, the default being 12. What I couldn't find is how to change that field when an MQOuput node is doing the putting.
In the meantime, I am requesting a new user with a shorter name for the rest of my testing. However, that is only a bandaid because our current user is longer than that limit.
[/list] |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jun 10, 2013 12:11 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You are in a twisty maze of user identifiers, all different.
12 is the maximum size of the MQMD User Identifier field.
Use SOAP over JMS to pass the SOAP Envelope, including the WS-Security Headers, in the MQ message body. And then replace the MQInput with a SOAPInput.
You can't authenticate an MQ user without additional information that can not be carried in the MQMD. You can only authorize them. |
|
Back to top |
|
 |
jayZ |
Posted: Mon Jun 10, 2013 12:15 pm Post subject: |
|
|
Acolyte
Joined: 03 Jun 2008 Posts: 71
|
Simple and elegant, wish I had taken a step back and thought of that!
Thanks! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|