You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to override mapToUser and mapToGrantedAuthority 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.
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:
flozano
changed the title
mapToUser in JdbcUserDetailsManager to become protected
mapToUser/mapToGrantedAuthority in JdbcUserDetailsManager to become protected
Feb 5, 2025
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: