person.setName(name);
this.postProcessRegisteredAccount(account);
personDAO.makePersistent(person);
HAccountActivationKey key = new HAccountActivationKey();
key.setAccount(account);
key.setKeyHash(HashUtil.generateHash(username + password + email + name
+ System.currentTimeMillis()));
accountActivationKeyDAO.makePersistent(key);
accountActivationKeyDAO.flush();
return key.getKeyHash();
}