In this chapter, we will secure our microservice-based social media platform. This will introduce some interesting use cases, ones that Spring Security can easily handle. However, it's important to know that almost every situation is slightly different. Spring Security can handle them, but it requires understanding how it operates so that you can adapt what you learn in this chapter to our unique situation.
To kick things off, we just need one dependency added to our project:
compile('org.springframework.boot:spring-boot-starter-security-
reactive')
In addition to adding Spring Security, we will need to define a policy, and also include authorization rules. As we move through this chapter, you'll learn what all this means.
By the way, remember the microservice-based solution we've developed in the previous...