问题描述
我正在努力使用OAuth2将Jersey Web服务提供给其他客户端,并且很难找到与Jersey紧密配合的库.到目前为止,我已经研究了以下库.
I am working on making Jersey web services available using OAuth2 to other clients and am having a tough time finding libraries that tie in nicely with Jersey. So far I have looked at the following libraries.
http://static.springsource.org/spring-security/oauth/support.html
我们使演示工作正常,但不想使用spring安全性.
We got the demo working, but do not want to use spring security.
https://labs.ericsson.com/apis/oauth2-framework/downloads
这与RESTLet紧密相关.
This is tied tightly to RESTLet.
http://wiki.apache.org/incubator/AmberProposal
我们看了一下,但是很难说出项目的状态.
We looked briefly, but it hard to tell the status of the project.
https://bitbucket.org/smartproject/oauth-2.0/wiki/Home
我们也刚刚开始研究这个.
We just started looking at this one as well.
我们的主要目标是与Jersey作为资源提供者进行简单集成.
The main goal we have is simple integration with Jersey as a Resource Provider.
推荐答案
我们最终使用Amber,根据需要修改了集成测试中的端点.
We ended up using Amber, modifying the endpoints from the integration tests as needed.
oauth-2.0/integration-tests/src/test/java/org/apache/oltu/oauth2/integration/endpoints/
这篇关于关于OAuth2库与Jersey集成的建议?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!