diff --git a/docs/manual/src/docs/asciidoc/_includes/reactive/oauth2/resource-server.adoc b/docs/manual/src/docs/asciidoc/_includes/reactive/oauth2/resource-server.adoc index 56a6d88ad3..c973e9728f 100644 --- a/docs/manual/src/docs/asciidoc/_includes/reactive/oauth2/resource-server.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/reactive/oauth2/resource-server.adoc @@ -297,7 +297,7 @@ We can override this quite simply to alter the way granted authorities are deriv [source,java] ---- static class GrantedAuthoritiesExtractor extends JwtAuthenticationConverter { - protected Collection extractAuthorities(Jwt jwt) { + protected Collection extractAuthorities(Jwt jwt) { Collection authorities = (Collection) jwt.getClaims().get("mycustomclaim");