Skip to content

Commit 9f97009

Browse files
committed
Polish Resource Server Multi-tenancy Docs
Issue gh-7532
1 parent 1ebb738 commit 9f97009

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -1604,8 +1604,7 @@ AuthenticationManagerResolver<HttpServletRequest> tokenAuthenticationManagerReso
16041604
OpaqueTokenAuthenticationProvider opaqueToken = opaqueToken();
16051605
16061606
return request -> {
1607-
String token = bearerToken.resolve(request);
1608-
if (isAJwt(token)) {
1607+
if (useJwt(request)) {
16091608
return jwt::authenticate;
16101609
} else {
16111610
return opaqueToken::authenticate;
@@ -1614,6 +1613,8 @@ AuthenticationManagerResolver<HttpServletRequest> tokenAuthenticationManagerReso
16141613
}
16151614
----
16161615

1616+
NOTE: The implementation of `useJwt(HttpServletRequest)` will likely depend on custom request material like the path.
1617+
16171618
And then specify this `AuthenticationManagerResolver` in the DSL:
16181619

16191620
.Authentication Manager Resolver

0 commit comments

Comments
 (0)