Skip to content

Commit e30dc42

Browse files
jhl221123rwinch
authored andcommitted
Update JdbcUserDetailsManager Javadoc and author
Signed-off-by: Junhyeok Lee <[email protected]>
1 parent 0722c2d commit e30dc42

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

core/src/main/java/org/springframework/security/provisioning/JdbcUserDetailsManager.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
* using this implementation for managing your users.
6565
*
6666
* @author Luke Taylor
67+
* @author Junhyeok Lee
6768
* @since 2.0
6869
*/
6970
public class JdbcUserDetailsManager extends JdbcDaoImpl
@@ -622,6 +623,10 @@ private void validateAuthorities(Collection<? extends GrantedAuthority> authorit
622623
}
623624
}
624625

626+
/**
627+
* Conditionally updates password based on the setting from
628+
* {@link #setEnableUpdatePassword(boolean)}. {@inheritDoc}
629+
*/
625630
@Override
626631
public UserDetails updatePassword(UserDetails user, String newPassword) {
627632
if (this.enableUpdatePassword) {

core/src/test/java/org/springframework/security/provisioning/JdbcUserDetailsManagerTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
*
6161
* @author Luke Taylor
6262
* @author dae won
63+
* @author Junhyeok Lee
6364
*/
6465
public class JdbcUserDetailsManagerTests {
6566

0 commit comments

Comments
 (0)