Spring Security setup

To explain Spring Security, we will implement basic authentication on the Spring MVC project that we created earlier. In Chapter 3Authentication Using SAML, LDAP, and OAuth/OIDC, we will look at implementing other authentication mechanisms using Spring Security. To accomplish basic authentication in your application, let's perform the additional steps outlined in this section.