public static String getSpringSecurityVersion() { String version = null; try { version = SpringSecurityCoreVersion.getVersion(); } catch (Exception x) {} return version == null ? "3.2.8" : version.replace(".RELEASE", ""); }