如何使用 spring3 保护服务 REST? [英] How to secure a service REST with spring3?

查看:43
本文介绍了如何使用 spring3 保护服务 REST?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚使用 MVC 注释(@Controller、@RequestMapping)在 spring 3 中创建了一个 Web 服务,现在我正在寻找一种保护它的方法.有人知道怎么做吗?

I just made a web service with spring 3 using MVC annotations (@Controller, @RequestMapping) and now I'm looking for a way to secure it. Does someone know how to do it?

谢谢,

推荐答案

我推荐 此视频 以了解 Spring-Security.Ben Alex 是创始人,非常有资格教授它.

I recommend this video to learn about Spring-Security. Ben Alex is the founder, so well qualified to teach it.

免责声明:虽然 Spring-Security 会提供一些身份验证和访问控制,但不能保证您的系统是安全的!

Disclaimer: while Spring-Security will provide some authentication and access control, it won't guarantee your system is secure!

这篇关于如何使用 spring3 保护服务 REST?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆