Google Answers Logo
View Question
 
Q: Java Web Service Authentication ( No Answer,   0 Comments )
Question  
Subject: Java Web Service Authentication
Category: Computers > Programming
Asked by: napes-ga
List Price: $15.00
Posted: 31 Aug 2006 17:24 PDT
Expires: 04 Sep 2006 11:47 PDT
Question ID: 761246
I'm currently developing my first web service and I'm unsure of which
authentication strategy to use.

The web service may be accessed directly, for which the application
should use XML headers to authenticate the application and perhaps
also the user. Alternatively, the service can be accessed through a
web application (JSP/Servlet setup) for which some of the webservice
fuctions should be available (showing latest items etc) and some
should require the user to login before they can be run (creating a
new item etc).

Ideally the service would use an API such as JAAS to provide a secure
authentication mechanism and the option to swap out the user database.
Perhaps for an LDAP directory, for example.

I understand that I could provide two tiers of authentication, one for
the application/web application and one for the user of the
application but I'm confused as to how to maintain the user session
without having to re-authenticate every time a request to the service
is made. If there are two tiers of authentication this would cause a
serious load on the server.

I would appreciate an answer that can suggest an efficient way to
provide an authentication mechanism for this scenario. A mechanism
which can be extended to support LDAP/Kerberos and is open source
would be ideal.

Thanks, Niall
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy