From 17123a3b0f3999f863311ce514c25215a19d2c1a Mon Sep 17 00:00:00 2001 From: Josh Cummings Date: Wed, 16 Nov 2022 11:59:57 -0700 Subject: [PATCH] Polish JwtAuthenticationConverter Preparation Steps Issue gh-12022 --- docs/modules/ROOT/pages/migration/servlet/oauth2.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/migration/servlet/oauth2.adoc b/docs/modules/ROOT/pages/migration/servlet/oauth2.adoc index dc42202636..21681ae462 100644 --- a/docs/modules/ROOT/pages/migration/servlet/oauth2.adoc +++ b/docs/modules/ROOT/pages/migration/servlet/oauth2.adoc @@ -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`.