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.
2 parents 09e8ae4 + 8948ba3 commit dc27051Copy full SHA for dc27051
docs/manual/src/docs/asciidoc/_includes/servlet/preface/java-configuration.adoc
@@ -705,7 +705,7 @@ We can override this quite simply to alter the way granted authorities are deriv
705
706
```java
707
static class GrantedAuthoritiesExtractor extends JwtAuthenticationConverter {
708
- protected Collection<GrantedAuthorities> extractAuthorities(Jwt jwt) {
+ protected Collection<GrantedAuthority> extractAuthorities(Jwt jwt) {
709
Collection<String> authorities = (Collection<String>)
710
jwt.getClaims().get("mycustomclaim");
711
0 commit comments