We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43737a5 commit 8948ba3Copy full SHA for 8948ba3
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
679
680
```java
681
static class GrantedAuthoritiesExtractor extends JwtAuthenticationConverter {
682
- protected Collection<GrantedAuthorities> extractAuthorities(Jwt jwt) {
+ protected Collection<GrantedAuthority> extractAuthorities(Jwt jwt) {
683
Collection<String> authorities = (Collection<String>)
684
jwt.getClaims().get("mycustomclaim");
685
0 commit comments