Apache Oltu is an OAuth protocol implementation in Java. It also covers others "OAuth family" related implementations such as JWT, JWS and OpenID Connect
I don't think it's currently maintained but I needed a working version so scraped the github community to get the best forks and combine them.
There's a released version available as well, check mvn-repo branch
Looking for documentation? The best place where finding the latest up-to-date documentation is the Wiki.
You might also find some useful information about OAuth in one of the referenced books
Please help us on keeping the documentation updated! Every contribution is more than welcome!
Have a look also to APIs documentation.
Forked from:
Add this to your pom.xml
:
<repository>
<id>pawelniewie-oltu-mvn-repo</id>
<url>https://raw.github.com/pawelniewie/oltu/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
And include dependencies you need, for example:
<dependency>
<groupId>org.apache.oltu.oauth2</groupId>
<artifactId>org.apache.oltu.oauth2.client</artifactId>
<version>1.0.3-pawelniewie</version>
</dependency>
<dependency>
<groupId>org.apache.oltu.oauth2</groupId>
<artifactId>org.apache.oltu.oauth2.jwt</artifactId>
<version>1.0.4-pawelniewie</version>
</dependency>
Check the current version in mvn-repo branch