File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
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.


Ping & DNS - my free Android networking tools app
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help with Web Services authentication