> I prupose a method like changeUserPassord(userId,oldPassword,newPassword)

The parts are already present in the code:

  User user = users.getUserByName(name);
  if ( user != null && user.verifyPassword(password)) {
     user.setPassword(newPassword);
  }

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to