mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 08:42:13 +00:00
Fix typo in documentation
Fixed typo in documentation.
This commit is contained in:
commit
dc2705189f
@ -705,7 +705,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…
x
Reference in New Issue
Block a user