mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 16:52:13 +00:00
Update JdbcUserDetailsManager Javadoc and author
Signed-off-by: Junhyeok Lee <jhl221123@naver.com>
This commit is contained in:
parent
0722c2dc41
commit
e30dc42d1e
@ -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) {
|
||||
|
@ -60,6 +60,7 @@ import static org.mockito.BDDMockito.verify;
|
||||
*
|
||||
* @author Luke Taylor
|
||||
* @author dae won
|
||||
* @author Junhyeok Lee
|
||||
*/
|
||||
public class JdbcUserDetailsManagerTests {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user