private String verifyPassword;
private String oldPassword;
private String newPassword;
public String execute() throws Exception {
User user = RemoteUser.get();
if (!user.authenticate(oldPassword)) {
addFieldError("oldPassword", getText("password.NotCorrect"));
return INPUT;
}
user.setPassword(newPassword);
userManager.store(user);
return SUCCESS;
}