Security and authentication in web services

Posted by King on Stack Overflow See other posts from Stack Overflow or by King
Published on 2010-04-19T22:16:45Z Indexed on 2010/04/20 0:13 UTC
Read the original article Hit count: 622

Filed under:
|

Lets say we have a website that uses a web service for all of its functionality (i.e. retrieving and updating data from/to db), how does the web service authenticate requests?

As I understand it, in a traditional java "website" a user provides a username & password, and upon validation a jsessionid is assigned to the user (client browser). Every time the client browser asks the website for something, the site checks for the jsessionid ensuring that the user is registered and authenticated. Is there a web services equivalent of this? If yes, what?

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services