소스 검색

Polish JwtAuthenticationConverter Preparation Steps

Issue gh-12022
Josh Cummings 2 년 전
부모
커밋
17123a3b0f
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      docs/modules/ROOT/pages/migration/servlet/oauth2.adoc

+ 2 - 1
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`.