Bladeren bron

Fixed typo in documentation.

George Sofianos 6 jaren geleden
bovenliggende
commit
8948ba3a48
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      docs/manual/src/docs/asciidoc/_includes/servlet/preface/java-configuration.adoc

+ 1 - 1
docs/manual/src/docs/asciidoc/_includes/servlet/preface/java-configuration.adoc

@@ -679,7 +679,7 @@ We can override this quite simply to alter the way granted authorities are deriv
 
 ```java
 static class GrantedAuthoritiesExtractor extends JwtAuthenticationConverter {
-    protected Collection<GrantedAuthorities> extractAuthorities(Jwt jwt) {
+    protected Collection<GrantedAuthority> extractAuthorities(Jwt jwt) {
         Collection<String> authorities = (Collection<String>)
                 jwt.getClaims().get("mycustomclaim");