2
0
Эх сурвалжийг харах

SEC-689: Fix 1.4 compatibility issue (overlooked autoboxing of boolean)

Luke Taylor 17 жил өмнө
parent
commit
4681ff3d50

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

@@ -126,7 +126,7 @@ public class HttpSecurityBeanDefinitionParser implements BeanDefinitionParser {
         	BeanDefinitionBuilder sessionFixationFilter = 
         		BeanDefinitionBuilder.rootBeanDefinition(SessionFixationProtectionFilter.class);
         	sessionFixationFilter.addPropertyValue("migrateSessionAttributes", 
-        			sessionFixationAttribute.equals(OPT_SESSION_FIXATION_MIGRATE_SESSION));
+        			Boolean.valueOf(sessionFixationAttribute.equals(OPT_SESSION_FIXATION_MIGRATE_SESSION)));
         	parserContext.getRegistry().registerBeanDefinition(BeanIds.SESSION_FIXATION_PROTECTION_FILTER, 
         			sessionFixationFilter.getBeanDefinition());
         }