From 0295b51e78302eed1fe37ffeb763e8afce0fb1ac Mon Sep 17 00:00:00 2001 From: Rafael Renan Pacheco Date: Thu, 26 Dec 2019 16:44:03 -0300 Subject: [PATCH] Fix var typo and code readability --- .../_includes/servlet/oauth2/oauth2-resourceserver.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc b/docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc index 4a58d084ae..bee1e52d99 100644 --- a/docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc @@ -456,9 +456,11 @@ public class DirectlyConfiguredJwkSetUri extends WebSecurityConfigurerAdapter { Converter grantedAuthoritiesExtractor() { JwtAuthenticationConverter jwtAuthenticationConverter = new JwtAuthenticationConverter(); + jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter (new GrantedAuthoritiesExtractor()); - return jwtAuthenticationConveter; + + return jwtAuthenticationConverter; } ----