File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Authentication between JAX-WS RI components Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Authentication between JAX-WS RI components" Watch "Authentication between JAX-WS RI components" New topic

Authentication between JAX-WS RI components

Rafael Angarita
Ranch Hand

Joined: Jan 09, 2009
Posts: 67
Hello Java-ranchers,

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

I submitted this same post about a week ago and I received useful answers advising me that that's what WS-Security is all about

Thank you guys.

The problem is that my PM still wants me to do the authentication without implementing WS-Security first.

I just want to know if there is a way to do that without WS-Security.

Thank you very much for your advises

Rafael Angarita.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Have you considered SSL with mutual authentication?
This may be too much if you do not have any requirements regarding confidentiality.
Best wishes!
Pat Gonzalez

Joined: Oct 18, 2009
Posts: 19
Here's an example,, that uses a custom soap client to connect to a protected soap web service.
I agree. Here's the link:
subject: Authentication between JAX-WS RI components
It's not a secret anymore!