开发者

Java OAuth Provider Library help

I have a website with a Java back-end and I am in the process of adding a RESTful API which uses OAuth.

I've already got a fairly good idea how to handle the REST part (Oracle Tutorial). But are there any Java libraries to help implement the OAuth part of the problem?

The only one I've found is this one But it OpenSSO is 开发者_如何学Pythonno longer free and it doesn't seem to be maintained.

Any help would be much appreciated.


Are you able to use Spring? Spring Security now has an OAuth extension, which has done the job for me. In terms of testing the functionality once you've written it, you might want to check out JMeter and it's OAuth plugin.

http://static.springsource.org/spring-security/oauth/index.html

I'd post the links to JMeter, but Stack Overflow won't let me. Google will do just fine though!


You can use Jersey, which supports OAuth 1.0, see http://wikis.sun.com/display/Jersey/OAuth

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜