mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-04-22 07:05:52 +00:00
Fix var typo and code readability
This commit is contained in:
parent
2c7f2c2117
commit
0295b51e78
@ -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…
x
Reference in New Issue
Block a user