哪个Spring安全性版本与Spring 3.2.8兼容 [英] Which spring security version is compatible with spring 3.2.8

查看:333
本文介绍了哪个Spring安全性版本与Spring 3.2.8兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问什么是Spring Security for Spring 3.2.8发行版的兼容发行版?

Please what is the compatible release version for Spring Security for Spring 3.2.8 release ?

推荐答案

Spring Security版本与Spring Framework版本之间几乎没有依赖关系.我已经将Spring Security 3.1.x和Spring Framework 3.1.x和3.2.x一起使用了.

There is little dependancy between Spring Security versions and Spring Framework versions. I have already used Spring Security 3.1.x with Spring Framework 3.1.x and 3.2.x.

如果没有理由做不同的事情(代码的可移植性),则应选择与其他组件兼容的更新的 General Available 版本.

If you have no reason to do differently (portability of code) you should choose the more recent General Available version that is compatible with your other components.

最新GA的文档( 4.0.1)说它是针对Spring Framework 4.1.6.RELEASE构建的,但应该与4.0.x =>兼容.

以前的GA(3.2. 7)表示是针对Spring Framework 3.2.13.RELEASE构建的,但还针对Spring Framework 4.1.6.RELEASE

这将是我的首选,但是如果您使用maven,则必须控制通过传递依赖项实际导入的内容,并最终对所有使用的Spring Framework组件强制使用3.2.8版本,以避免混合使用不同版本或更好地进行升级到3.2.13,因为它只是补丁程序级别的不同版本.

It would be my first choice, but if you use maven, you will have to control what is actually imported via transitive dependancy and eventually force 3.2.8 versions for all used Spring Framework components to avoid mixing different versions, or better upgrade to 3.2.13 since it is only a patch level different version.

当然,您还可以利用@zeisi

Of course, you can also make use of the fact that previous Spring Security version (3.2.6) explicitely builds against Spring Framework 3.2.8.RELEASE, as said by @zeisi

这篇关于哪个Spring安全性版本与Spring 3.2.8兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆