diff --git a/docs/modules/ROOT/pages/servlet/test/mockmvc/index.adoc b/docs/modules/ROOT/pages/servlet/test/mockmvc/index.adoc index 67450d9b5d..a4e69e5d67 100644 --- a/docs/modules/ROOT/pages/servlet/test/mockmvc/index.adoc +++ b/docs/modules/ROOT/pages/servlet/test/mockmvc/index.adoc @@ -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. diff --git a/docs/modules/ROOT/pages/servlet/test/mockmvc/setup.adoc b/docs/modules/ROOT/pages/servlet/test/mockmvc/setup.adoc index c77a95cf92..bfd7f520d8 100644 --- a/docs/modules/ROOT/pages/servlet/test/mockmvc/setup.adoc +++ b/docs/modules/ROOT/pages/servlet/test/mockmvc/setup.adoc @@ -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.