hPerson.setEmail(from.getEmail());
hPerson.setName(from.getName());
to.getRoles().clear();
for (String role : from.getRoles()) {
HAccountRole hAccountRole = accountRoleDAO.findByName(role);
if (hAccountRole == null) {
// generate error for missing role
log.debug("Invalid role '{}'", role);
throw new NoLogWebApplicationException(Response
.status(Status.BAD_REQUEST)