File tree 1 file changed +2
-2
lines changed
core/src/main/java/org/springframework/security/provisioning
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ protected List<UserDetails> loadUsersByUsername(String username) {
181
181
return getJdbcTemplate ().query (getUsersByUsernameQuery (), this ::mapToUser , username );
182
182
}
183
183
184
- private UserDetails mapToUser (ResultSet rs , int rowNum ) throws SQLException {
184
+ protected UserDetails mapToUser (ResultSet rs , int rowNum ) throws SQLException {
185
185
String userName = rs .getString (1 );
186
186
String password = rs .getString (2 );
187
187
boolean enabled = rs .getBoolean (3 );
@@ -390,7 +390,7 @@ public List<GrantedAuthority> findGroupAuthorities(String groupName) {
390
390
this ::mapToGrantedAuthority );
391
391
}
392
392
393
- private GrantedAuthority mapToGrantedAuthority (ResultSet rs , int rowNum ) throws SQLException {
393
+ protected GrantedAuthority mapToGrantedAuthority (ResultSet rs , int rowNum ) throws SQLException {
394
394
String roleName = getRolePrefix () + rs .getString (3 );
395
395
return new SimpleGrantedAuthority (roleName );
396
396
}
You can’t perform that action at this time.
0 commit comments