Update JdbcUserDetailsManager Javadoc and author

Signed-off-by: Junhyeok Lee <jhl221123@naver.com>
This commit is contained in:
Junhyeok Lee 2025-05-10 00:14:44 +09:00 committed by Rob Winch
parent 0722c2dc41
commit e30dc42d1e
2 changed files with 6 additions and 0 deletions

View File

@ -64,6 +64,7 @@ import org.springframework.util.Assert;
* using this implementation for managing your users.
*
* @author Luke Taylor
* @author Junhyeok Lee
* @since 2.0
*/
public class JdbcUserDetailsManager extends JdbcDaoImpl
@ -622,6 +623,10 @@ public class JdbcUserDetailsManager extends JdbcDaoImpl
}
}
/**
* Conditionally updates password based on the setting from
* {@link #setEnableUpdatePassword(boolean)}. {@inheritDoc}
*/
@Override
public UserDetails updatePassword(UserDetails user, String newPassword) {
if (this.enableUpdatePassword) {

View File

@ -60,6 +60,7 @@ import static org.mockito.BDDMockito.verify;
*
* @author Luke Taylor
* @author dae won
* @author Junhyeok Lee
*/
public class JdbcUserDetailsManagerTests {