From 6a2a636fd71fd882b948a34d888852dec90f5f3a Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Sat, 7 May 2011 16:20:12 +0100 Subject: [PATCH] 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). --- .../security/provisioning/UserDetailsManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java b/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java index c9ec100027..46f8a9f7c1 100644 --- a/core/src/main/java/org/springframework/security/provisioning/UserDetailsManager.java +++ b/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