|
|
|
@ -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; |
|
|
|
} |
|
|
|
} |
|
|
|
---- |
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
|