|
@@ -27,8 +27,8 @@ import org.springframework.core.SpringVersion;
|
|
|
* @author Rob Winch
|
|
|
*/
|
|
|
public class SpringSecurityCoreVersion {
|
|
|
- private static final String DISABLE_CHECKS = SpringSecurityCoreVersion.class
|
|
|
- .getName().concat(".DISABLE_CHECKS");
|
|
|
+ private static final String DISABLE_CHECKS = SpringSecurityCoreVersion.class.getName()
|
|
|
+ .concat(".DISABLE_CHECKS");
|
|
|
|
|
|
private static final Log logger = LogFactory.getLog(SpringSecurityCoreVersion.class);
|
|
|
|
|
@@ -38,7 +38,7 @@ public class SpringSecurityCoreVersion {
|
|
|
* N.B. Classes are not intended to be serializable between different versions. See
|
|
|
* SEC-1709 for why we still need a serial version.
|
|
|
*/
|
|
|
- public static final long SERIAL_VERSION_UID = 410L;
|
|
|
+ public static final long SERIAL_VERSION_UID = 420L;
|
|
|
|
|
|
static final String MIN_SPRING_VERSION = "4.3.1.RELEASE";
|
|
|
|
|
@@ -73,8 +73,8 @@ public class SpringSecurityCoreVersion {
|
|
|
}
|
|
|
|
|
|
logger.info("You are running with Spring Security Core " + version);
|
|
|
- if (new ComparableVersion(springVersion).compareTo(new ComparableVersion(
|
|
|
- minSpringVersion)) < 0) {
|
|
|
+ if (new ComparableVersion(springVersion)
|
|
|
+ .compareTo(new ComparableVersion(minSpringVersion)) < 0) {
|
|
|
logger.warn("**** You are advised to use Spring " + minSpringVersion
|
|
|
+ " or later with this version. You are running: " + springVersion);
|
|
|
}
|