newUser.setUsername("jsmith");
newUser.setEnabled(true);
Map creds = new HashMap();
creds.put("password", "foobar");
newUser.setCredentials(creds);
Response response = admin.users().create(newUser);
User user = response.readEntity(User.class);
response = admin.roles().create("user");
Role role = response.readEntity(Role.class);
String json = target.path("projects").queryParam("name", "Skeleton Key").request().get(String.class);
Projects projects = admin.projects().query("Skeleton Key");