WARNING: Apache Oltu is no longer an active project. So, don't consider the implementation on this repo for anything real. Though, this repo is still relevant if you want to understand the OAuth2 flow in details.
Simple Oauth2 Server example on top of Resteasy and Apache Oltu.
This code was based on Apache Oltu documentation and integration tests.
##To run the oauth server:
mvn clean package
java -jar target/dependency/jetty-runner.jar target/oauthserver.war
##See: