开发者

Any Spring Framework support for REST security?

开发者 https://www.devze.com 2023-01-05 20:27 出处:网络
I am about to imp开发者_运维知识库lement security for my RESTful services based on the Spring framework. Actually, I have never secured RESTful WS before, but I\'ve got myself a good introduction here

I am about to imp开发者_运维知识库lement security for my RESTful services based on the Spring framework. Actually, I have never secured RESTful WS before, but I've got myself a good introduction here. Basically, Amazon S3 or even OAuth are suggested as good examples.

My questions:

  1. Does the Spring framework provide these strategies out-of-the-box?
  2. If yes: Is it Spring security that implements these strategies?
  3. If no: How would you suggest to implement these strategies (OAuth ...) with Spring?

Thanks in advance for any suggestion.

Er


It is definitely Spring Security that you're looking for. It provides an excellent way of securing the invocations of your RESTful spring-mvc controllers.

oAuth is in the business of federated authorization, which is what you need when you're building an application that requires its users to give your application permission to access a portion of their private data that lives in the cloud, e.g their gmail contacts or their Google Calendar.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号