Browse Source

Fixed typo in documentation.

pull/7092/head
George Sofianos 7 years ago
parent
commit
8948ba3a48
  1. 2
      docs/manual/src/docs/asciidoc/_includes/servlet/preface/java-configuration.adoc

2
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,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");

Loading…
Cancel
Save