${_csrf.parameterName} and ${_csrf.token} coming empty in login form. I am using Spring 4.1.3 and Spring Security 3.2.5
All the configurations are made correctly but still i am getting
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
as
<input type="hidden" name="" value=""/>