File tree 1 file changed +3
-2
lines changed
docs/manual/src/docs/asciidoc/_includes/servlet/oauth2
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1604,8 +1604,7 @@ AuthenticationManagerResolver<HttpServletRequest> tokenAuthenticationManagerReso
1604
1604
OpaqueTokenAuthenticationProvider opaqueToken = opaqueToken();
1605
1605
1606
1606
return request -> {
1607
- String token = bearerToken.resolve(request);
1608
- if (isAJwt(token)) {
1607
+ if (useJwt(request)) {
1609
1608
return jwt::authenticate;
1610
1609
} else {
1611
1610
return opaqueToken::authenticate;
@@ -1614,6 +1613,8 @@ AuthenticationManagerResolver<HttpServletRequest> tokenAuthenticationManagerReso
1614
1613
}
1615
1614
----
1616
1615
1616
+ NOTE: The implementation of `useJwt(HttpServletRequest)` will likely depend on custom request material like the path.
1617
+
1617
1618
And then specify this `AuthenticationManagerResolver` in the DSL:
1618
1619
1619
1620
.Authentication Manager Resolver
You can’t perform that action at this time.
0 commit comments