Skip to content

Commit 0c2a7e0

Browse files
rustamzhjzheaux
authored andcommitted
Update resource-server.adoc
Fix typo in the code sample
1 parent a7a9271 commit 0c2a7e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/manual/src/docs/asciidoc/_includes/reactive/oauth2/resource-server.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ We can override this quite simply to alter the way granted authorities are deriv
297297
[source,java]
298298
----
299299
static class GrantedAuthoritiesExtractor extends JwtAuthenticationConverter {
300-
protected Collection<GrantedAuthorities> extractAuthorities(Jwt jwt) {
300+
protected Collection<GrantedAuthority> extractAuthorities(Jwt jwt) {
301301
Collection<String> authorities = (Collection<String>)
302302
jwt.getClaims().get("mycustomclaim");
303303

0 commit comments

Comments
 (0)