Search code examples
javaspringjarversioncompatibility

What is the compatible version of Spring Security with Spring 4.3.0?


Which version of Spring Security is compatible with Spring version 4.3.0.

My JARs are as follows:

  • spring-aop-4.3.0.RELEASE.jar
  • spring-beans-4.3.0.RELEASE.jar
  • spring-context-4.3.0.RELEASE.jar
  • spring-context-support-4.3.0.RELEASE.jar
  • spring-core-4.3.0.RELEASE.jar
  • spring-expression-4.3.0.RELEASE.jar
  • spring-jdbc-4.3.0.RELEASE.jar
  • spring-orm-4.3.0.RELEASE.jar
  • spring-oxm-4.3.0.RELEASE.jar
  • spring-tx-4.3.0.RELEASE.jar
  • spring-web-4.3.0.RELEASE.jar

With Security JARs:

  • spring-security-config-3.2.5.RELEASE.jar
  • spring-security-core-3.2.5.RELEASE.jar
  • spring-security-web-3.2.5.RELEASE.jar

Solution

  • The documentation for Spring Security 4.2.x says that the current Spring Security version 4.2.x is compatible with Spring 4.3.26 and 4.0.x.

    For Spring Security 3.2.5 you should use Spring 4.0.2 (doc for 3.2.5).