Oltu Authorization Server
With Oltu you can easily create OAuth 2.0 compliant applications.
End User Authorization Endpoint
Simplified implementation of the OAuth 2.0 End User Authorization Endpoint using Oltu:
With this way of building OAuth requests and responses, it does not matter if you are using Java servlets or the JAX-RS specification.
In JAX-RS endpoint, for example, you would do:
Simplified implementation of the OAuth 2.0 Token Endpoint using Oltu:
If you need more advanced examples, then take a look at the integration-tests module which shows all possibilities provided by Oltu API.