buffer.append("</user>");
return buffer.toString();
}
public static UserDto userPost() {
UserDto user = new UserDto();
user.setName("Aberahama");
user.setSurname("Johanson");
user.setDescription("A hawaian user");
user.setEmail("abe.joha@aloha.com");
user.setNick("abejo");
user.setAuthType("ABIQUO");
user.setLocale("en_US");
user.setActive(true);
user.setPassword("c69a39bd64ffb77ea7ee3369dce742f3");
user.addLink(new RESTLink("role", "http://localhost/api/admin/roles/1"));
return user;
}