From 58be282f703455e67ec9502d88f8be691932fb59 Mon Sep 17 00:00:00 2001 From: izeye Date: Mon, 5 Jan 2015 00:54:35 +0900 Subject: [PATCH] SEC-2875: Fix typo in hellomvc guide --- docs/guides/src/asciidoc/hellomvc.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/src/asciidoc/hellomvc.asc b/docs/guides/src/asciidoc/hellomvc.asc index 9790081429..ebe8361b1a 100644 --- a/docs/guides/src/asciidoc/hellomvc.asc +++ b/docs/guides/src/asciidoc/hellomvc.asc @@ -111,7 +111,7 @@ We can view the user name, but how are we able to log out? Below you can see how ---- -If you try to log out right now the request will fail. The reason is that Spring Security is protecting against CSRF attakcks and there is no CSRF token include in our request. Update our configuration to use the `@EnableWebMvcSecurity` annotation which will do the same as `@EnableWebMvcSecurity` and provide integration with Spring MVC. Among other things, it will ensure our CSRF Token is included in our forms automatically when using Thymleaf 2.1+ or Spring MVC taglibs. +If you try to log out right now the request will fail. The reason is that Spring Security is protecting against CSRF attacks and there is no CSRF token include in our request. Update our configuration to use the `@EnableWebMvcSecurity` annotation which will do the same as `@EnableWebSecurity` and provide integration with Spring MVC. Among other things, it will ensure our CSRF Token is included in our forms automatically when using Thymleaf 2.1+ or Spring MVC taglibs. .src/main/java/org/springframework/security/samples/config/SecurityConfig.java [source,java]