Fix var typo and code readability

This commit is contained in:
Rafael Renan Pacheco 2019-12-26 16:44:03 -03:00 committed by Eleftheria Stein-Kousathana
parent 2c7f2c2117
commit 0295b51e78
1 changed files with 3 additions and 1 deletions

View File

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