Spring 3.1 MVC, Spring Security 3.1 - CSRF token

前端 未结 3 1974
抹茶落季
抹茶落季 2020-12-30 02:10

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

3条回答
  •  我在风中等你
    2020-12-30 02:43

    With Spring Security 3.2.0.RC1 comes a CSRF protection functionality. There is also a solution for AJAX requests included.

    See http://www.springsource.org/node/22675 and http://spring.io/blog/2013/08/21/spring-security-3-2-0-rc1-highlights-csrf-protection/

提交回复
热议问题