Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 20090 invoked from network); 10 Sep 2008 10:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2008 10:47:15 -0000 Received: (qmail 18544 invoked by uid 500); 10 Sep 2008 10:47:10 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 18399 invoked by uid 500); 10 Sep 2008 10:47:09 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 18354 invoked by uid 99); 10 Sep 2008 10:47:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 03:47:08 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2008 10:46:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B444A238889B; Wed, 10 Sep 2008 03:46:17 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: jetspeed-dev@portals.apache.org From: woonsan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080910104617.B444A238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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