I’m looking for an open source library that implements the OAuth protocol , I need the server side implementation . Say I have a Social network system , and I want to give my users an OAuth abiliy to my API , like facebook.
Do you have any suggestion , sure examples .
There are few Java libraries list here,
http://oauth.net/code/
You should use the first one. It’s the only one with server support. You can find an example,
http://oauth.googlecode.com/svn/code/java/example/oauth-provider/
You might want also look at OAuth 2.0,
https://datatracker.ietf.org/doc/html/draft-ietf-oauth-v2-02
Which greatly simplifies OAuth flow and you don’t really need a library to implement it.