mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-03-05 03:04:31 +00:00
Improve MockMvc testing documentation navigation
Closes gh-18844 Signed-off-by: skfkgla <narahim.lee@gmail.com>
This commit is contained in:
parent
07297e7a80
commit
96bf048dd2
@ -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.
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user