Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Authentication between JAX-WS RI components" Watch "Authentication between JAX-WS RI components" New topic
Author

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.
SCJP 6.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
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
Greenhorn

Joined: Oct 18, 2009
Posts: 19
Here's an example, http://spnego.sourceforge.net/protected_soap_service.html, that uses a custom soap client to connect to a protected soap web service.
 
Consider Paul's rocket mass heater.
 
subject: Authentication between JAX-WS RI components
 
Similar Threads
javax.xml.ws Packaging simple Questions
help with Web Services authentication
Your views on Web Services Security
Metro + WS-Security
SOAP knowledge for JAX-WS Learning.