Suppose we have a website that uses a web service for all its functions (for example, to retrieve and update data from / to db), how does a web service authenticate requests?
As I understand it, on a traditional java website, the user provides a username and password, and after checking, jsessionid is assigned to the user (client browser). Each time the client browser asks the site about something, the site checks the jsessionid, ensuring that the user is registered and authenticated. Is there an equivalent web service? If so, then what?
java web-services
King
source share