|
@@ -718,8 +718,8 @@ public JwtAuthenticationConverter jwtAuthenticationConverter() {
|
|
|
JwtGrantedAuthoritiesConverter grantedAuthoritiesConverter = new JwtGrantedAuthoritiesConverter();
|
|
|
grantedAuthoritiesConverter.setAuthoritiesClaimName("authorities");
|
|
|
|
|
|
- JwtAuthenticationConverter authenticationConverter = new JwtAuthenticationConverter();
|
|
|
- jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter(authoritiesConverter);
|
|
|
+ JwtAuthenticationConverter jwtAuthenticationConverter = new JwtAuthenticationConverter();
|
|
|
+ jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter(grantedAuthoritiesConverter);
|
|
|
return jwtAuthenticationConverter;
|
|
|
}
|
|
|
----
|