This chapter shows how to build a Java web application using Spring Security 6 in Spring Boot 3. You see the inner workings of the security filter chain and the different metadata options at your disposal to define security constraints in your application.
Let’s build your Java web application using Spring Security 6 in Spring Boot 3, and please make sure you’re using Java 17+, as the baseline for Spring Boot 3 and Spring Security 6 is now Java 17. Java 20 is used in this demo.