安全地休息 Web 服务
我编写了一个网络服务,可以返回给定学生的调度程序。我现在必须保护 Web 服务的安全,因为数据是机密的。
这是一个使用球衣的休息网络服务。
我的想法是交换令牌,例如 OAuth 或类似的。我在网上搜索,找不到一个实现 oAuth 并提供有用示例的库。
谁能给我提供使用 OAuth 库来保护 Web 服务的示例?
I have wrote an web service that returns the scheduler from a given student. I must now secure the web service, because the data are confidential.
It's a rest web service using jersey.
My idea is to exchange token, like OAuth or similar. I searched on the web and can't found a library that implements oAuth with helpful examples.
Can anyone provide me examples that uses a OAuth library for securing an web service ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看我们在今年的 JavaOne 上展示的 Jersey OAuth 实验室:http://java.net.cn net/projects/jersey/downloads/download/oauth_lab.zip
请注意,有关如何设置环境以能够运行实验的说明位于实验指南末尾的附录中。
Check out the Jersey OAuth lab we presented at this year's JavaOne: http://java.net/projects/jersey/downloads/download/oauth_lab.zip
Note the instructions on how to set up the environment to be able to run the lab is in an appendix at the end of the lab guide.