Login/logout in REST with Spring 3
We are developing RESTful webservices with Spring 3 and we need to have the functionality of login/logout, something like /webservices/login/<username>/<password>/ and /webservices/logout . The session should be stored in the context until the session is timed out or logged out to allow consumption of other webservices. Any request to access webservices without session information should be rejected. Looking for state-of-the-art solution for this scenario. I am actually resurrecting the question asked here Spring Security 3 programmatically login , which is still not properly answered. Please