Implementing security constraints is a core requirement of any application. Spring provides support to various aspects of applications, including security. One of the modules of the Spring framework, called Spring Security, was specially designed to meet security needs. It is a robust and highly adaptive framework, providing authentication and authorization out of the box.
Spring Security is the standard for securing any Spring-based application. We can see the real strength of Spring Security when integrating it with other systems. Its capabilities can be extended with ease, in order to meet custom requirements. This chapter will be devoted purely to Spring Security.
In the last chapter, we looked at the power of the Spring framework, with various modules and third-party libraries binding together in Spring Boot: a module built on...