【问题标题】:Suggestions for OAuth2 libraries for integration with Jersey? [closed]关于与 Jersey 集成的 OAuth2 库的建议? [关闭]
【发布时间】:2011-06-06 19:59:12
【问题描述】:

我正在努力使用 OAuth2 向其他客户提供 Jersey Web 服务,并且很难找到与 Jersey 很好地结合的库。到目前为止,我已经查看了以下库。

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

我们得到了演示,但不想使用 spring security。

https://labs.ericsson.com/apis/oauth2-framework/downloads

这与 RESTLet 紧密相关。

http://wiki.apache.org/incubator/AmberProposal

我们看了一眼,但很难判断项目的状态。

https://bitbucket.org/smartproject/oauth-2.0/wiki/Home

我们也刚开始研究这个。

我们的主要目标是与作为资源提供者的 Jersey 进行简单集成。

【问题讨论】:

  • 我今天一直在玩 Amber 的结帐,并让 facebook 客户端示例正常工作。现在我只是通过授权服务器集成测试,试图通过一些示例组合一个简单的服务器进行测试。如果有人有 Amber 的快速授权示例,那就太好了。

标签: jersey jax-rs oauth-2.0


【解决方案1】:

我们最终使用 Amber,根据需要修改集成测试的端点。

oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/

【讨论】:

  • 回头看,是不是一个不错的选择?我现在正面临这个决定。
  • 我对它很满意,它适用于您需要一个没有大量依赖项的独立库的情况。
猜你喜欢
  • 1970-01-01
  • 2017-01-20
  • 2020-12-11
  • 2012-01-13
  • 2013-11-20
  • 1970-01-01
  • 1970-01-01
  • 2010-09-15
  • 2012-09-02
相关资源
最近更新 更多