-
Notifications
You must be signed in to change notification settings - Fork 6.1k
v5.2.0.M3 docs contain Deprecated example code #7062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report, @pluttrell! Would you be interested in submitting a PR to update the docs? |
@jzheaux I was thinking about submitting one, but wasn't 100% sure what the authors intent is and didn't want to lead people in the wrong direction. |
I see, @pluttrell, I can understand you wanting to first assess the author's intent. Yes, I think you've understood it correctly, and the documentation just lagged behind #6277. Let me know if you'd like to provide a PR, and I'd be happy to assist. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Summary
The Spring Security v5.2.0.M3 docs provides the following example:
The
Collection<GrantedAuthority> extractAuthorities(Jwt jwt)
method is now deprecated. From looking at the source, it appears there's a new recommended way to introduce our own custom authority logic.The text was updated successfully, but these errors were encountered: