• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WebService Security UsernameToken configuration in JAX-WS for Websphere Application Server 6.1

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I need to consume a web service that is secured with WSS-usernameToken. I'm using JAX-WS-stack on WAS 6.1. I'm sure there's plenty of tutorials out there about the subject, but I can't seem to find any. Could someone help me out on how to configure a client application for WAS 6.1 to use WSS-usernameToken under JAX-WS or point me to an existing guide?

Thanks for reading this far. Hope to hear from you soon!

Rashi
 
Rasheeem Rashi
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
...nevermind. All ready found what I was looking for.

All this is done in the admin console:
1. Go to Services -->Policy sets and copy the Username WSSecurity default policy set and give the copy your own name
2. In your policy set add WS-Security policy (I didn't add any other policies)
3. On the main policy page, uncheck all the check boxes you can also remove the information in the request/response message part protection
4. Go to Service providers and click on your service export ( you'd go to service clients if it was an import)
5. Select the service and attach your previously created policy set
6. Click on assign binding and create a new binding
7. Add the WS-Security Policy (should be the only one available)
8. On the authentication and protection page click on the request:token-auth link and save it even if you don't make changes and it should show status configured
9. You may have to restart the server,or at least the application.

(http://www.ibm.com/developerworks/forums/thread.jspa?threadID=272559)
 
"How many licks ..." - I think all of this dog's research starts with these words. Tasty tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic