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 » Issue regarding security tokens

Post new topic  Reply to topic
 Issue regarding security tokens « View previous topic :: View next topic » 
Author Message
chetu777
PostPosted: Wed May 26, 2010 3:55 am    Post subject: Issue regarding security tokens Reply with quote

Acolyte

Joined: 07 Sep 2009
Posts: 59

Hi All,

I am using Message broker 7. For my requirement I need to develop a web service and in which I need to authenticate username and passwords that coming from wsse headers and also decrypt the message header ( the consumer will be sending me a encrypted header part).

Coming to the implementation part. To do a POC on this I have taken address book extended sample in sample galary as my message flow


case 1) Setting only username token policy:-
In policy sets I have set the username token policy and applied to the bar file to be deployed. When I give SOAP message with wsse header along with username and password it works fine and If I dont provide header information it throws me an error which is as expected. Here encryption in consumer and decryption in provider is not taking place as I have still not set the X509 certificate.

Case 2) Setting only X509 certificate policy:-
So to do this, in the example they have mentioned how to use only X509 tokens for encryption and decryption of SOAP message and it works fine when I tried this.

But when I try to use both x509 and username tokens together, the webservice is considering only X509 token and not username token applied in policy set of broker.

Anyone having idea how to use both these scurity tokens together, So that I can encrypt and decrypt the message as well as see to that wsse header information is compulsary by defining username tokens in policy sets. Or is there any way where I can achieve my goal apart from the route I am following
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Issue regarding security tokens
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.