portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r693779 - /portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java
Date Wed, 10 Sep 2008 10:46:17 GMT
Author: woonsan
Date: Wed Sep 10 03:46:16 2008
New Revision: 693779

URL: http://svn.apache.org/viewvc?rev=693779&view=rev
Log:
Flattening Security APIs.
After changing password, the credential should be stored.

Modified:
    portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java

Modified: portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java?rev=693779&r1=693778&r2=693779&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java
(original)
+++ portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/registration/ForgottenPasswordPortlet.java
Wed Sep 10 03:46:16 2008
@@ -179,6 +179,7 @@
             PasswordCredential pwc = userManager.getPasswordCredential(user);
             pwc.setPassword(null, newPassword);
             pwc.setUpdateRequired(true);
+            userManager.storePasswordCredential(pwc);
             
             // if we got here stuff is changed... removed the key from the map
             admin.removeNewLoginInfo(guid);



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message