mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-14 08:02:22 +00:00
SEC-1607: Report correct version for Spring Security (not Spring version).
This commit is contained in:
parent
6141ef79b3
commit
fc75b69ab8
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user