Skip to content

Commit 7d5a541

Browse files
author
Steve Riesenberg
committed
Backport "Revisit CSRF page" to 6.0.x
(cherry picked from commit e7fa340) Closes gh-13910
1 parent 60e9505 commit 7d5a541

File tree

9 files changed

+1340
-274
lines changed

9 files changed

+1340
-274
lines changed
Binary file not shown.
402 KB
Loading
Binary file not shown.
82.5 KB
Loading

docs/modules/ROOT/pages/servlet/authentication/logout.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,5 +150,5 @@ If not configured, a status code 200 is returned by default.
150150
- xref:servlet/test/mockmvc/logout.adoc#test-logout[Testing Logout]
151151
- xref:servlet/integrations/servlet-api.adoc#servletapi-logout[`HttpServletRequest.logout()`]
152152
- xref:servlet/authentication/rememberme.adoc#remember-me-impls[Remember-Me Interfaces and Implementations]
153-
- xref:servlet/exploits/csrf.adoc#servlet-considerations-csrf-logout[Logging Out] in section CSRF Caveats
153+
- xref:servlet/exploits/csrf.adoc#csrf-considerations-logout[Logging Out] in section CSRF Caveats
154154
- Documentation for the xref:servlet/appendix/namespace/http.adoc#nsa-logout[logout element] in the Spring Security XML Namespace section

docs/modules/ROOT/pages/servlet/authentication/passwords/form.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ The following https://www.thymeleaf.org/[Thymeleaf] template produces an HTML lo
188188
There are a few key points about the default HTML form:
189189

190190
* The form should perform a `post` to `/login`.
191-
* The form needs to include a xref:servlet/exploits/csrf.adoc#servlet-csrf[CSRF Token], which is xref:servlet/exploits/csrf.adoc#servlet-csrf-include-form-auto[automatically included] by Thymeleaf.
191+
* The form needs to include a xref:servlet/exploits/csrf.adoc#servlet-csrf[CSRF Token], which is xref:servlet/exploits/csrf.adoc#csrf-integration-form[automatically included] by Thymeleaf.
192192
* The form should specify the username in a parameter named `username`.
193193
* The form should specify the password in a parameter named `password`.
194194
* If the HTTP parameter named `error` is found, it indicates the user failed to provide a valid username or password.

0 commit comments

Comments
 (0)