title: Spring 3.1 MVC, Spring Security 3.1 - CSRF token
body: <p>At the moment I am searching for a possibility to include CRSF tokens in Spring MVC and Spring Security forms. What is the easiest solution that covers both (Spring Security + Spring MVC) servlets and allows to render and evaluate CSRF tokens?</p>
  
  <p>I'm surprised that this basic mechanism is not available in the Springs stack. (which I consider basic for every web application framework)</p>
  
  <p>PS: I have looked at HDIV but can't find a solution to use it with Spring Security as well. (e.g. login form gets rendered by Spring MVC and login request gets handled by Spring Security)</p>