Skip to content

Commit b9f9139

Browse files
Merge branch '5.8.x' into 6.0.x
2 parents b3aaa4d + 5406fed commit b9f9139

File tree

1 file changed

+1
-1
lines changed
  • docs/modules/ROOT/pages/servlet/test/mockmvc

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/servlet/test/mockmvc/oauth2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ fun foo(@AuthenticationPrincipal oauth2User: OAuth2User): String? {
296296
----
297297
====
298298

299-
In that case, we can tell Spring Security to include a default `OAuth2User` using the `oauth2User` xref:servlet/test/mockmvc/request-post-processors.adoc[`RequestPostProcessor`], like so:
299+
In that case, we can tell Spring Security to include a default `OAuth2User` using the `oauth2Login` xref:servlet/test/mockmvc/request-post-processors.adoc[`RequestPostProcessor`], like so:
300300

301301
====
302302
.Java

0 commit comments

Comments
 (0)