In this chapter, we will take a look at the Spring Security integration for Spring Boot. Spring Security can be used for both authenticating and authorizing users for your application. Spring Security has a pluggable mechanism for both the authentication and authorization process and by default supports different mechanisms. For authentication, Spring Security has out-of-the-box support for JDBC, LDAP, and property files.
5-1. Enable Security in Your Spring Boot Application
Problem
You have a Spring Boot–based application ...