-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Add customizable RowMappers for user details and authorities in JdbcUserDetailsManager #16561
Add customizable RowMappers for user details and authorities in JdbcUserDetailsManager #16561
Conversation
6b6a462
to
548be22
Compare
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, @big-cir! Can we try composition first? I've left some feedback inline for details on how that could be done.
core/src/main/java/org/springframework/security/provisioning/JdbcUserDetailsManager.java
Outdated
Show resolved
Hide resolved
78af6dc
to
52faf76
Compare
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.
Hi, @big-cir, yes, that's what I'm thinking. Please see some additional feedback about the method and then let's also proceed with doing the same for mapToGrantedAuthority
.
core/src/main/java/org/springframework/security/provisioning/JdbcUserDetailsManager.java
Show resolved
Hide resolved
core/src/main/java/org/springframework/security/provisioning/JdbcUserDetailsManager.java
Outdated
Show resolved
Hide resolved
…Manager - Closes spring-projectsgh-16540 Signed-off-by: dae won <[email protected]>
Signed-off-by: dae won <[email protected]>
Signed-off-by: dae won <[email protected]>
Signed-off-by: dae won <[email protected]>
52faf76
to
d506c1a
Compare
@jzheaux, Thank you again for your time and expertise. |
7ee7de6
to
50fd7c0
Compare
- Add unit tests for setGrantedAuthorityMapper method Signed-off-by: dae won <[email protected]>
50fd7c0
to
f06c979
Compare
Overview
Related