Any Spring Framework support for REST security?

I am going to implement a security system for my RESTful services based on the Spring framework. In fact, I have never used RESTful WS before, but I have a good introduction here . Basically, Amazon S3 or even OAuth are offered as good examples.

My questions:

  • Does the Spring framework provide these strategies out of the box?
  • If yes: does Spring Security implement these strategies?
  • If not: how would you suggest implementing these strategies (OAuth ...) with Spring?

Thanks in advance for any suggestion.

E

+4
source share
1 answer

This is definitely the Spring Security you are looking for. It provides a great way to protect the calls of your spring-mvc RESTful controllers.

oAuth works in federated authorization, which is what you need when you create an application that requires your users to grant permission for your application to access some of their personal data that live in the cloud, for example, their gmail contacts or their Google Calendar.

+4
source

Source: https://habr.com/ru/post/1314641/


All Articles