Work around Thymeleaf's dependency on spring-security-bom:6.0.0-RC2
Work around Thymeleaf's dependency on spring-security-bom:6.0.0-RC2

Closes gh-33348

spring-projects/spring-boot,spring-projects/spring-boot,spring-projects/spring-boot,htynkn/spring-boot,htynkn/spring-boot,spring-projects/spring-boot,htynkn/spring-boot,htynkn/spring-boot,htynkn/spring-boot,spring-projects/spring-boot,spring-projects/spring-boot,htynkn/spring-boot