From 0c2a7e03f780113867dd23c7c6f5f407bc854aed Mon Sep 17 00:00:00 2001 From: RusZh Date: Mon, 11 Feb 2019 15:02:22 +0600 Subject: [PATCH] Update resource-server.adoc Fix typo in the code sample --- .../asciidoc/_includes/reactive/oauth2/resource-server.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");