Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help with Web Services authentication

 
Rafael Angarita
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm lost regarding web services authentication. This is my situation:

Im using JAX-WS RI and Glassfish, and I have two distributed web services.
I need the client to be authenticated (login and password) and then use the first services and then the second, combine the result and show it.
I need both web services to be secured.

My question is: what kind of authentication I should use?

Thank you very much for your help.

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what WS-Security is all about. The easiest way to get it would be to use the Metro stack (metro.dev.java.net), which bundles WS-Security with the JAX-WS RI.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Metro is the default web services stack in GlassFish. There is no need to install it, unless you need a newer version than the one delivered with the application server installation.
Best wishes!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic