安全地休息 Web 服务

发布于 2024-12-12 13:08:04 字数 187 浏览 6 评论 0原文

我编写了一个网络服务,可以返回给定学生的调度程序。我现在必须保护 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅忆 2024-12-19 13:08:05

查看我们在今年的 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文