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 » WS-Security Issue. Want to avoid HardCoding.

Post new topic  Reply to topic
 WS-Security Issue. Want to avoid HardCoding. « View previous topic :: View next topic » 
Author Message
stevarg
PostPosted: Mon Dec 03, 2012 5:29 am    Post subject: WS-Security Issue. Want to avoid HardCoding. Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 03, 2012 5:58 am    Post subject: Reply with quote

Jedi Knight

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

Yes.
_________________
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
stevarg
PostPosted: Mon Dec 03, 2012 7:56 am    Post subject: Reply with quote

Novice

Joined: 20 Nov 2012
Posts: 24

Could you please give me hints on this.

Thanks in Advance.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 03, 2012 8:40 am    Post subject: Reply with quote

Jedi Knight

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

stevarg wrote:
Could you please give me hints on this.

Thanks in Advance.


WMB V6 is end of life. Upgrade.


Have you taken the required training class?

http://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM643

Do you know how to use Google?

http://goo.gl/bSD71
_________________
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
PeterPotkay
PostPosted: Mon Dec 03, 2012 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon Dec 03, 2012 11:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/ab60130_.htm
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Dec 03, 2012 11:26 am    Post subject: Reply with quote

Jedi Knight

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

PeterPotkay wrote:
WMB 6.1, which the original poster is using, is still a fully supported version.


Not for long...

http://www-01.ibm.com/software/support/lifecycle/index_w.html
_________________
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
stevarg
PostPosted: Tue Dec 04, 2012 7:54 am    Post subject: Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Dec 04, 2012 8:00 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WS-Security Issue. Want to avoid HardCoding.
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.