Securing a RESTful Web Service with Spring Security 3.1
baeldung.com
How to secure a RESTful Web Service with Spring Security 3.1, focusing on the security configuration, the web.xml, the HTTP status codes for the authentication process and the Maven resolution of the security artifacts.