views:

2754

answers:

3

Hi,

I'm looking for a Java library that helps me building an OAuth Consumer. I must be able to receive OAuth signed requests and determine whether they are valid or not (checking the signature, timestamp and nonce values).

Do you know if there's something out there that makes this task easier?

thanks a ton!

A: 

There is an OAuth plugin for Spring Security

Kevin
I'm not using Spring in my project but Guice.
Pablo Fernandez
+4  A: 
Pascal Thivent
Just to clarify: Pascal crossed these libraries out because they are being used for client-side OAuth only. What the author is looking for, however, is a server-side OAuth library.
Matthias
A: 

Looks like there's a Subversion repo for a library at http://oauth.googlecode.com/svn/code/java/. Looks like you'll have to checkout and run maven to get executables though.

If you go into example/webapp/src/main/java they have some examples of consuming from Twitter, Yahoo, & others.

Jason Gritman
I Think those are client only libs
Pablo Fernandez