Cross-Site Request Forgery (CSRF) - Spring Security

This simple web application shows how Spring Security automatically adds an anti CSRF token to each form. You can change the token value and see how Spring rejects the request without any code required.

Automatic Anti-CSRF Token

This form contains an automatically added anti CSRF token.