{
hu = new HibernateUserImpl(user.getUserName());
//user.updatePassword(user.getPassword());
if (defaultSynchronizePassword != null)
{
hu.updatePassword(getDefaultSynchronizePassword());
}
//really dummy password generation
//TODO: make something more sophisticated (risk of this part is documented)
else if (randomSynchronizePassword)
{