在 Java 中实现 OAuth 提供程序 [英] Implementing OAuth provider in Java
问题描述
让 OAuth 提供程序在 Java 中运行的最快/最简单的方法是什么?具体来说,我需要授权第三方应用访问某些网络服务(我正在考虑使用 OAuth 进行令牌身份验证).
我一直在查看 Jersey 的 OAuth 扩展,但如前所述 这里,它不提供成熟的服务提供商.
有一些用于 OAuth 的 Java 库.具体来说,我会看看这个.我自己没有使用过,但是有一个运行 OAuth 服务提供程序的示例.
OAuth 网站上有可用的库列表:http://oauth.net/code>
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).
I've been looking at Jersey's OAuth extension, but as mentioned here, it doesn't provide a full-fledged Service Provider.
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.
There's a list of libraries available on the OAuth website: http://oauth.net/code
这篇关于在 Java 中实现 OAuth 提供程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!