This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes help with Web Services authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "help with Web Services authentication" Watch "help with Web Services authentication" New topic
Author

help with Web Services authentication

Rafael Angarita
Ranch Hand

Joined: Jan 09, 2009
Posts: 67
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.


Rafael Angarita.
SCJP 6.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
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

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
Have you checked out Aspose?
 
subject: help with Web Services authentication
 
It's not a secret anymore!