Browse Source

Fix var typo and code readability

pull/7780/head
Rafael Renan Pacheco 6 years ago committed by Eleftheria Stein-Kousathana
parent
commit
0295b51e78
  1. 4
      docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc

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

@ -456,9 +456,11 @@ public class DirectlyConfiguredJwkSetUri extends WebSecurityConfigurerAdapter {
Converter<Jwt, AbstractAuthenticationToken> grantedAuthoritiesExtractor() { Converter<Jwt, AbstractAuthenticationToken> grantedAuthoritiesExtractor() {
JwtAuthenticationConverter jwtAuthenticationConverter = JwtAuthenticationConverter jwtAuthenticationConverter =
new JwtAuthenticationConverter(); new JwtAuthenticationConverter();
jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter
(new GrantedAuthoritiesExtractor()); (new GrantedAuthoritiesExtractor());
return jwtAuthenticationConveter;
return jwtAuthenticationConverter;
} }
---- ----

Loading…
Cancel
Save