user.setLastPasswordChange(new Date());
user.setPassword(password);
user.setDisabled(false);
this.loadUserDefaultRoles(user);
this.loadUserDefaultGroups(user);
userManager.updateUser(user);
userManager.changePassword(username, password);// Per salvare password non in chiaro
this.getUserRegDAO().removeConsumedToken(token);
} catch (Throwable t) {
ApsSystemUtils.logThrowable(t, this, "activateUser");
throw new ApsSystemException("Error in Account activation", t);