Jersey, Spring, Tomcat and Security Annotations
- by jr
I need to secure a simple jersey RESTful API in a Tomcat 6.0.24 container. I'd like to keep the authentication with Basic Authentication using the tomcat-users.xml file to define the users and roles (this is for now, like I said its small).
Now, for authorization I'd like to be able to use the JSR 250 annotations like @RolesAllowed, @PermitAll,…