mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 09:12:14 +00:00
Fix typo in resource server documentation
This commit is contained in:
parent
046cdd7f07
commit
cf48f986f6
@ -718,8 +718,8 @@ public JwtAuthenticationConverter jwtAuthenticationConverter() {
|
|||||||
JwtGrantedAuthoritiesConverter grantedAuthoritiesConverter = new JwtGrantedAuthoritiesConverter();
|
JwtGrantedAuthoritiesConverter grantedAuthoritiesConverter = new JwtGrantedAuthoritiesConverter();
|
||||||
grantedAuthoritiesConverter.setAuthoritiesClaimName("authorities");
|
grantedAuthoritiesConverter.setAuthoritiesClaimName("authorities");
|
||||||
|
|
||||||
JwtAuthenticationConverter authenticationConverter = new JwtAuthenticationConverter();
|
JwtAuthenticationConverter jwtAuthenticationConverter = new JwtAuthenticationConverter();
|
||||||
jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter(authoritiesConverter);
|
jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter(grantedAuthoritiesConverter);
|
||||||
return jwtAuthenticationConverter;
|
return jwtAuthenticationConverter;
|
||||||
}
|
}
|
||||||
----
|
----
|
||||||
|
Loading…
x
Reference in New Issue
Block a user