RESThub 2.1 will provide all auth stuff out of the box, but find bellow some hints about what we plan to support.
- A default User/Group/Role management already implemented (even it will continue to be improved before 2.1)
- A Backbone.js stack based GUI (a first version will be pushed shortly)
- An integration with spring-security, and optionally spring-security-oauth.
You can do simple HTTP auth basic, auth digest (builtin in Spring Security) or OAuth 2 by using spring-security-oauth2. We contributed a fix for Jackson2 support, so compatibility with RESThub 2.0 is ok if you use 1.0.1-SNAPSHOT (1.0.1 to be released shortly) with Jackson 2 integration described on
https://github.com/SpringSource/spring-security-oauth/pull/59. Be careful you must explicitly exclude Jackson 1.x dependencies from spring-security-oauth as described in the GitHub issue.
Client side integration for authentication will be added to Backbone.js stack. Waiting that you can have a look on what we did on RESThub JS 1.x, since we plan to backport this code to RESThub 2.0. Code is available on :
Regards