In Chapter 3, Blogpress - A Simple Blog Management System, we provided information about Spring Boot and looked at how to create an application with it. In this chapter, we will use Spring Boot to build an app to showcase authentication and authorization in Spring Security. In the LDAP section, we covered the installation and setup of the LDAP server, along with its data structure. In this section, you will see how Spring Security works with LDAP.
Spring Security is a highly comprehensive and extensible framework; it provides authentication and authorization support for a J2EE-based web and REST application. We will look at how to integrate Spring Security with LDAP to perform authentication. By definition, authentication is a mechanism of validating or deciding whether an individual or entity is what it claims to be.Â
...