Skip to content

Commit e7fa340

Browse files
author
Steve Riesenberg
committed
Revisit CSRF page
Closes gh-13089
1 parent 97a42ba commit e7fa340

File tree

10 files changed

+1304
-280
lines changed

10 files changed

+1304
-280
lines changed
Binary file not shown.
Loading
Binary file not shown.
Loading

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,6 @@ Once you have logout configured you can test it using xref:servlet/test/mockmvc/
403403
- xref:servlet/test/mockmvc/logout.adoc#test-logout[Testing Logout]
404404
- xref:servlet/integrations/servlet-api.adoc#servletapi-logout[HttpServletRequest.logout()]
405405
- xref:servlet/authentication/rememberme.adoc#remember-me-impls[Remember-Me Interfaces and Implementations]
406-
- xref:servlet/exploits/csrf.adoc#servlet-considerations-csrf-logout[Logging Out] in section CSRF Caveats
406+
- xref:servlet/exploits/csrf.adoc#csrf-considerations-logout[Logging Out] in section CSRF Caveats
407407
- Section xref:servlet/authentication/cas.adoc#cas-singlelogout[Single Logout] (CAS protocol)
408408
- 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
@@ -183,7 +183,7 @@ The following https://www.thymeleaf.org/[Thymeleaf] template produces an HTML lo
183183
There are a few key points about the default HTML form:
184184

185185
* The form should perform a `post` to `/login`.
186-
* 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.
186+
* 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.
187187
* The form should specify the username in a parameter named `username`.
188188
* The form should specify the password in a parameter named `password`.
189189
* 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)