6

I am searching a working oauth2 provider server implemented on java, leeloo and spring security are some that I have found, but there is no working example.

https://github.com/SpringSource/spring-security-oauth/wiki/tutorial
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home
Vaandu
  • 4,857
  • 12
  • 49
  • 75

3 Answers3

10

There is the Apache Oltu (formerly Apache Amber) implementation that supports building OAuth 2.0 Authorization and Resource Servers: https://cwiki.apache.org/confluence/display/OLTU/OAuth+2.0+Authorization+Server and is not dependent on any framework.

You have examples of AS (Auth and Token endpoints) and RS test implementation in integration tests: https://github.com/apache/oltu/tree/trunk/oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints

Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
Lukasz Moren
  • 1,625
  • 2
  • 15
  • 16
3

ınside spring security package there has 2 example one tonr other sparklr implemented with oauth2

1

Bit late, but you could - for future references - have a look at https://github.com/OpenConextApps/apis.

user2803901
  • 61
  • 1
  • 1