Search code examples
springspring-securityversionspring-framework-beans

Which version of Spring framework security is compatible with Spring framework 5.3.4


Currently, I am using

<springFramework.version>3.2.3.RELEASE</springFramework.version>
<springFrameworkSecurity.version>3.1.4.RELEASE</springFrameworkSecurity.version>

I want to move to

<springFramework.version>5.3.4.RELEASE</springFramework.version>
<springFrameworkSecurity.version> ? </springFrameworkSecurity.version>

Solution

  • According to the documentation for the latest Spring Security:

    Since Spring Security makes breaking changes only in major releases, it is safe to use a newer version of Spring Security with Spring Boot.

    The Spring Framework version you're moving to is 5.3.4, so I would assume that any 5.X.X version of Spring Security should work.

    If that works, let us know by marking the answer as solved! If not, leave a comment.