瀏覽代碼

SEC-1607: Report correct version for Spring Security (not Spring version).

Luke Taylor 15 年之前
父節點
當前提交
deef2706ef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java

+ 1 - 1
core/src/main/java/org/springframework/security/core/SpringSecurityCoreVersion.java

@@ -19,7 +19,7 @@ public class SpringSecurityCoreVersion {
 
         if (springVersion != null) {
             // TODO: Generate version class and information dynamically from a template in the build file
-            logger.info("You are running with Spring Security Core " + springVersion);
+            logger.info("You are running with Spring Security Core " + version);
             if (!springVersion.startsWith("3")) {
                 logger.error("Spring Major version '3' expected, but you are running with version: " + springVersion);
             }