Skip to content

Commit

Permalink
Polish JwtAuthenticationConverter Preparation Steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jzheaux committed Nov 16, 2022
1 parent 63aec87 commit 17123a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/migration/servlet/oauth2.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -315,5 +315,6 @@ Use of the `implicit` grant type is not recommended and all related support is r

== Address `JwtAuthenticationConverter` Deprecation

The method `extractAuthorities(...)` can be replaced with `JwtGrantedAuthoritiesConverter#convert(...)`.
The method `extractAuthorities` will be removed.
Instead of extending `JwtAuthenticationConverter`, please supply a custom granted authorities converter with `JwtAuthenticationConverter#setJwtGrantedAuthoritiesConverter`.

0 comments on commit 17123a3

Please sign in to comment.