From ea2b5dd4125f6134876c45db7960fe1265c9ec2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Vila=C3=A7a?= Date: Wed, 18 May 2016 20:26:20 +0100 Subject: [PATCH] Fix wrong class name reference in the docs In the documentation, there was a reference to a class called CsrfTokenResolver and it should CsrfTokenArgumentResolver Fixes gh-3890 --- docs/manual/src/docs/asciidoc/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/src/docs/asciidoc/index.adoc b/docs/manual/src/docs/asciidoc/index.adoc index 97002126d3..7dec6ac04e 100644 --- a/docs/manual/src/docs/asciidoc/index.adoc +++ b/docs/manual/src/docs/asciidoc/index.adoc @@ -6816,11 +6816,11 @@ Will output HTML that is similar to the following: [[mvc-csrf-resolver]] ==== Resolving the CsrfToken -Spring Security provides `CsrfTokenResolver` which can automatically resolve the current `CsrfToken` for Spring MVC arguments. +Spring Security provides `CsrfTokenArgumentResolver` which can automatically resolve the current `CsrfToken` for Spring MVC arguments. By using <> you will automatically have this added to your Spring MVC configuration. If you use XML based configuraiton, you must add this yourself. -Once `CsrfTokenResolver` is properly configured, you can expose the `CsrfToken` to your static HTML based application. +Once `CsrfTokenArgumentResolver` is properly configured, you can expose the `CsrfToken` to your static HTML based application. [source,java] ----