wu.setResponse(account.getResponse().getBytes(Charset.forName("utf-8")), DigestType.md5);
for (JpaRole r : account.getRoles()) {
wu.addPublicCredentials(new RoleImpl(r.getContext(), r.getRolename()));
}
return Response.ok(wu.toXml()).build();
}
@GET
@Path("/account/{login}/activate")
public Response activateAccount(@PathParam("login") String login,