-
Notifications
You must be signed in to change notification settings - Fork 6k
mapToUser/mapToGrantedAuthority in JdbcUserDetailsManager to become protected #16540
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
Labels
in: core
An issue in spring-security-core
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Comments
big-cir
added a commit
to big-cir/spring-security
that referenced
this issue
Feb 10, 2025
big-cir
added a commit
to big-cir/spring-security
that referenced
this issue
Feb 10, 2025
…Manager - Closes spring-projectsgh-16540 Signed-off-by: dae won <[email protected]>
big-cir
added a commit
to big-cir/spring-security
that referenced
this issue
Feb 14, 2025
…Manager - Closes spring-projectsgh-16540 Signed-off-by: dae won <[email protected]>
big-cir
added a commit
to big-cir/spring-security
that referenced
this issue
Feb 14, 2025
…Manager - Closes spring-projectsgh-16540 Signed-off-by: dae won <[email protected]>
big-cir
added a commit
to big-cir/spring-security
that referenced
this issue
Feb 15, 2025
…Manager - Closes spring-projectsgh-16540 Signed-off-by: dae won <[email protected]>
Closing in favor of #16561 |
jzheaux
pushed a commit
that referenced
this issue
Feb 24, 2025
…Manager - Closes gh-16540 Signed-off-by: dae won <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: core
An issue in spring-security-core
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Expected Behavior
I'd like to be able to override
mapToUser
andmapToGrantedAuthority
in order to be able to customize how the user is mapped and what's the actual class to be used, and what's the instance of GrantedAuthority to be used.Current Behavior
Context
JdbcUserDetailsManager is not final and can be extended to override some of its behavior. It already has protected methods. By making this one protected, the extensibility can be much simplified.
The
loadUsersByUsername
is protected and can be extended already, so this is a minimal change.The text was updated successfully, but these errors were encountered: