Improve MockMvc testing documentation navigation

Closes gh-18844

Signed-off-by: skfkgla <narahim.lee@gmail.com>
This commit is contained in:
skfkgla 2026-03-04 12:50:33 +09:00 committed by Josh Cummings
parent 07297e7a80
commit 96bf048dd2
2 changed files with 7 additions and 0 deletions

View File

@ -3,3 +3,9 @@
:page-section-summary-toc: 1
Spring Security provides comprehensive integration with {spring-framework-reference-url}testing/mockmvc.html[Spring MVC Test]
To begin using Spring Security's MockMvc integration, you'll first need to
xref:servlet/test/mockmvc/setup.adoc#test-mockmvc-setup[configure MockMvc],
and then you'll be able to use Security's
xref:servlet/test/mockmvc/request-post-processors.adoc[RequestPostProcessors]
and other MockMvc test support.

View File

@ -67,3 +67,4 @@ class CsrfShowcaseTests {
======
<1> `SecurityMockMvcConfigurers.springSecurity()` will perform all of the initial setup we need to integrate Spring Security with Spring MVC Test
Now that you have configured MockMvc with `springSecurity()`, you can use Security's xref:servlet/test/mockmvc/request-post-processors.adoc[RequestPostProcessors] and other MockMvc test support.