portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r693500 - /portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/security/ChangePasswordPortlet.java
Date Tue, 09 Sep 2008 15:58:12 GMT
Author: vkumar
Date: Tue Sep  9 08:58:12 2008
New Revision: 693500

URL: http://svn.apache.org/viewvc?rev=693500&view=rev
Log:
Changes for new Security API's

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

Modified: portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/security/ChangePasswordPortlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/security/ChangePasswordPortlet.java?rev=693500&r1=693499&r2=693500&view=diff
==============================================================================
--- portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/security/ChangePasswordPortlet.java
(original)
+++ portals/jetspeed-2/applications/j2-admin/branches/security-refactoring/src/main/java/org/apache/jetspeed/portlets/security/ChangePasswordPortlet.java
Tue Sep  9 08:58:12 2008
@@ -174,7 +174,7 @@
                     	User user = manager.getUser(userName);
                     	PasswordCredential credential = manager.getPasswordCredential(user);
                     	credential.setPassword(currPassword, newPassword);
-                    	
+                    	manager.storePasswordCredential(credential);
                         audit.logUserActivity(userName, getIPAddress(actionRequest), AuditActivity.PASSWORD_CHANGE_SUCCESS,
UserDetailsPortlet.USER_ADMINISTRATION);
 
                         // refresh/update Subject in session to reflect the changed PasswordCredential



---------------------------------------------------------------------
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