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 » WebSphere Message Broker (ACE) Support » configure message broker (http authorization)

Post new topic  Reply to topic
 configure message broker (http authorization) « View previous topic :: View next topic » 
Author Message
Sosed
PostPosted: Fri Aug 24, 2012 5:05 am    Post subject: configure message broker (http authorization) Reply with quote

Apprentice

Joined: 24 Aug 2012
Posts: 43

Hi,

I have a message flow that invokes a Web Service which is a security-enabled one. Web Service uses basic authorization. I added authorization to http header at compute node:

Code:
SET OutputRoot.HTTPRequestHeader."Authorization" = 'Basic '||Base64Encode(UserName||':'||Password);


is there any other way to implement authorization? I'm talking about configuring message flow or execution group (or Broker) after deployment.

thanks.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Aug 24, 2012 5:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You need to refer to the InfoCentre about this topic. Your assumption about how WMB uses BasicAuth is incorrect. Your code sample is wrong.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Aug 24, 2012 5:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
You need to refer to the InfoCentre about this topic. Your assumption about how WMB uses BasicAuth is incorrect. Your code sample is wrong.


It worked in v6.0... http://www.ibm.com/developerworks/lotus/library/connections-social-authoring/#N1026C

But that doesn't mean that Sosed shouldn't be using security profiles instead.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Fri Aug 24, 2012 5:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Good point. It would be helpful if the OP specified what WMB version is being used.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
McueMart
PostPosted: Fri Aug 24, 2012 6:48 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Here's a started for 10 (assuming WMB 7 or 8 ):

http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fbp19260_.htm&resultof=%22IdentityMappedType%22%20%22identitymappedtyp%22
Back to top
View user's profile Send private message
Sosed
PostPosted: Mon Aug 27, 2012 1:51 am    Post subject: Reply with quote

Apprentice

Joined: 24 Aug 2012
Posts: 43

Thanks for your answering me.

Quote:
Good point. It would be helpful if the OP specified what WMB version is being used.

I'm using WBM 7.

But, the real question was: Can I configure my WMB (execution group or msg flow) at runtime to pass basic authorization? May be by mqsi-commands?

Quote:
You need to refer to the InfoCentre about this topic.

I didn't find such commands there.

thank everyone for help)
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 27, 2012 2:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Sosed wrote:
But, the real question was: Can I configure my WMB (execution group or msg flow) at runtime to pass basic authorization? May be by mqsi-commands?




Sosed wrote:
Quote:
You need to refer to the InfoCentre about this topic.

I didn't find such commands there.


Just because you didn't find the information doesn't mean it's not there.

If you're looking for a command like mqsisetbasicauth you'll be disapointed but the facility exists.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
marko.pitkanen
PostPosted: Mon Aug 27, 2012 2:22 am    Post subject: Reply with quote

Chevalier

Joined: 23 Jul 2008
Posts: 440
Location: Jamsa, Finland

Hi Sosed,

The same document as McueMart provided for version 8 can be found from version 7 InfoCenter LINK...

You really need to read it first and perhaps do some researching after that. Your key words could be "security profile" and "Configuring for identity propagation"

--
Marko
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 » WebSphere Message Broker (ACE) Support » configure message broker (http authorization)
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.