1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Fixed typo in documentation.

This commit is contained in:
George Sofianos
2019-07-09 23:41:40 +03:00
parent 43737a56bd
commit 8948ba3a48
@@ -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");