Author |
Message
|
stevarg |
Posted: Mon Dec 03, 2012 5:29 am Post subject: WS-Security Issue. Want to avoid HardCoding. |
|
|
Novice
Joined: 20 Nov 2012 Posts: 24
|
I have a web service implementing WS-Security of the Username token type.
I am trying to create a Consumer flow in message broker that would invoke the web service using message broker version 6.1.
I am using Policy Sets for the consumer to implement the same.
But now I have to hard code the Username and Password details in the ESQL code to make it work. I am using the below mentioned code.
SET OutputRoot.Properties.IdentityMappedType = 'usernameAndPassword';
SET OutputRoot.Properties.IdentityMappedToken = 'userId';
SET OutputRoot.Properties.IdentityMappedPassword = 'password';
Is there any way in which I can avoid this hardcoding and make this as part of configuration. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Dec 03, 2012 5:58 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
stevarg |
Posted: Mon Dec 03, 2012 7:56 am Post subject: |
|
|
Novice
Joined: 20 Nov 2012 Posts: 24
|
Could you please give me hints on this.
Thanks in Advance. |
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Dec 03, 2012 8:40 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Dec 03, 2012 11:19 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
WMB 6.1, which the original poster is using, is still a fully supported version. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Dec 03, 2012 11:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
lancelotlinc |
Posted: Mon Dec 03, 2012 11:26 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
stevarg |
Posted: Tue Dec 04, 2012 7:54 am Post subject: |
|
|
Novice
Joined: 20 Nov 2012 Posts: 24
|
Thank you all.
Is it correct that I need to get the userI and Password from LDAP by configuring the security profile and mention the same in the broker archive file while deploying it... |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Dec 04, 2012 8:00 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
stevarg wrote: |
Thank you all.
Is it correct that I need to get the userI and Password from LDAP by configuring the security profile and mention the same in the broker archive file while deploying it... |
What does the InfoCentre say about that? _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
|