mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 05:42:31 +00:00
Refactor mapToUser method visibility to private
Signed-off-by: dae won <eodnjs01477@gmail.com>
This commit is contained in:
parent
6ac3426e39
commit
22511aac7f
@ -189,7 +189,7 @@ public class JdbcUserDetailsManager extends JdbcDaoImpl implements UserDetailsMa
|
|||||||
return getJdbcTemplate().query(getUsersByUsernameQuery(), userDetailsMapper, username);
|
return getJdbcTemplate().query(getUsersByUsernameQuery(), userDetailsMapper, username);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected UserDetails mapToUser(ResultSet rs, int rowNum) throws SQLException {
|
private UserDetails mapToUser(ResultSet rs, int rowNum) throws SQLException {
|
||||||
String userName = rs.getString(1);
|
String userName = rs.getString(1);
|
||||||
String password = rs.getString(2);
|
String password = rs.getString(2);
|
||||||
boolean enabled = rs.getBoolean(3);
|
boolean enabled = rs.getBoolean(3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user