소스 검색

Update Javadoc for UserDetailsManager to reflect that the new password doesn't need to be stored in the security context (and probably shouldn't be).

Luke Taylor 14 년 전
부모
커밋
6a2a636fd7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java

+ 1 - 2
core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java

@@ -29,8 +29,7 @@ public interface UserDetailsManager extends UserDetailsService {
 
     /**
      * Modify the current user's password. This should change the user's password in
-     * the persistent user repository (datbase, LDAP etc) and should also modify the
-     * current security context to contain the new password.
+     * the persistent user repository (datbase, LDAP etc).
      *
      * @param oldPassword current password (for re-authentication if required)
      * @param newPassword the password to change to