1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Merge branch '6.0.x'

This commit is contained in:
Marcus Da Coregio
2022-12-19 16:53:35 -03:00
@@ -296,7 +296,7 @@ fun foo(@AuthenticationPrincipal oauth2User: OAuth2User): String? {
---- ----
==== ====
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: 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:
==== ====
.Java .Java