Lab: Update Spring Security version ‐ 2: Review the Spring Security Version - shinyay/spring-boot-2-7-to-3-1-upgrade GitHub Wiki
2: Review the Spring Security Version Our version of Spring Security is currently overridden by the property we set in the pom.xml section:
17 5.8.5 5.5.13.3 We can verify this with the Maven Dependency Tree plugin:[~/exercises] $ ./mvnw dependency:tree | grep spring-security [INFO] | +- org.springframework.security:spring-security-config:jar:5.8.5:compile [INFO] | | - org.springframework.security:spring-security-core:jar:5.8.5:compile [INFO] | | - org.springframework.security:spring-security-crypto:jar:5.8.5:compile [INFO] | - org.springframework.security:spring-security-web:jar:5.8.5:compile Notice that the Spring Security Version is set to 5.8.5.
Now, it's time to upgrade to Spring Security 6. This will can be accomplished by removing the overriding spring-security.version property.