How to secure a service REST with spring3?

2019-03-14 07:45发布

问题:

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?

Thanks,

回答1:

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

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