}
/** Apply the change to the database. */
protected void apply() throws DAOException {
//Change requires both the new and the old.
PasswordDAO dao = new PasswordDAO();
boolean success = dao.changePassword(fOldUser, fNewUser);
if (success){
addMessage("Password for _1_ updated successfully.", fNewUser.getName());
}
else {
addError("Password not updated. Please verify old password.");