使用Java实现的OAuth提供者 [英] Implementing OAuth provider in Java

查看:175
本文介绍了使用Java实现的OAuth提供者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是获得在Java中运行一个OAuth提供最快/最简单的方法是什么?具体来说,我需要授权的第三方应用程序访问特定的Web服务(我想使用OAuth令牌认证)。

What is the fastest/easiest way to get an OAuth provider running in Java? Specifically, I need to authorize third-party apps to access certain web services (I'm thinking token authentication using OAuth).

我一直期待在新泽西州的OAuth扩展,但如前所述<一个href=\"http://n2.nabble.com/Help-with-creating-an-OAuth-Service-Provider-using-Jersey-OAuth-Api-tp3879487p4031208.html\">here,它不提供一个完整的服务提供者。

I've been looking at Jersey's OAuth extension, but as mentioned here, it doesn't provide a full-fledged Service Provider.

推荐答案

有几个Java库了那里的OAuth。具体来说,我想看看这个。我没有用它自己,但对于运行一个OAuth服务提供商的例子。

There are a few Java libraries out there for OAuth. Specifically, I'd have a look at this one. I haven't used it myself, but there is an example for running an OAuth Service Provider.

还有的OAuth的网站上提供库的列表: http://oauth.net/$c$c

There's a list of libraries available on the OAuth website: http://oauth.net/code

这篇关于使用Java实现的OAuth提供者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆