Skip to content

Commit cf48f98

Browse files
committed
Fix typo in resource server documentation
1 parent 046cdd7 commit cf48f98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/manual/src/docs/asciidoc/_includes/servlet/oauth2/oauth2-resourceserver.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -718,8 +718,8 @@ public JwtAuthenticationConverter jwtAuthenticationConverter() {
718718
JwtGrantedAuthoritiesConverter grantedAuthoritiesConverter = new JwtGrantedAuthoritiesConverter();
719719
grantedAuthoritiesConverter.setAuthoritiesClaimName("authorities");
720720
721-
JwtAuthenticationConverter authenticationConverter = new JwtAuthenticationConverter();
722-
jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter(authoritiesConverter);
721+
JwtAuthenticationConverter jwtAuthenticationConverter = new JwtAuthenticationConverter();
722+
jwtAuthenticationConverter.setJwtGrantedAuthoritiesConverter(grantedAuthoritiesConverter);
723723
return jwtAuthenticationConverter;
724724
}
725725
----

0 commit comments

Comments
 (0)