if (springSecurityPresent && springVersionGrEqThan4) {
// Spring Security is present and Spring >= 4.0.0
// Enable Spring security integration
bean.getPropertyValues().addPropertyValue("innerRequestDataValueProcessor",
new CsrfRequestDataValueProcessor());
}
parserContext.getRegistry().registerBeanDefinition(REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME, bean);
return new RuntimeBeanReference(REQUEST_DATA_VALUE_PROCESSOR_BEAN_NAME);
}