-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
GH-15201 Introduce ExpressionJwtGrantedAuthoritiesConverter to extract nested authorities via SpEL expression #15202
GH-15201 Introduce ExpressionJwtGrantedAuthoritiesConverter to extract nested authorities via SpEL expression #15202
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @thomasdarimont! And for your patience as I got around to it. I've left a piece of feedback inline.
...framework/security/oauth2/server/resource/authentication/JwtGrantedAuthoritiesConverter.java
Outdated
Show resolved
Hide resolved
20a08b7
to
204d74e
Compare
4df49bd
to
b72f116
Compare
Tried to make checkstyle happy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, @thomasdarimont! I've left some feedback additional inline; thanks for taking a look.
...security/oauth2/server/resource/authentication/ExpressionJwtGrantedAuthoritiesConverter.java
Outdated
Show resolved
Hide resolved
...security/oauth2/server/resource/authentication/ExpressionJwtGrantedAuthoritiesConverter.java
Outdated
Show resolved
Hide resolved
...security/oauth2/server/resource/authentication/ExpressionJwtGrantedAuthoritiesConverter.java
Outdated
Show resolved
Hide resolved
d77ef40
to
3e96b56
Compare
…ith an expression This helps to reduce custom code necessary to extract roles from deeply nested claims. Closes spring-projects#15201 Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
3e96b56
to
6a7f2f1
Compare
Thanks, @thomasdarimont! This is now merged into |
This helps to reduce custom code necessary to extract roles from deeply nested claims.
Fixes #15201