HttpClient http = httpClient("server1", "foo", "bar");
HttpClientResponse resp = http.request("PUT", "/foo/bar/1", data.getBytes());
assertThat(resp.errorCode(), equalTo(403));
http = httpClient("server1", "foo", "bar");
resp = http.request("PUT", "/foo/bar/1", data.getBytes());
assertThat(resp.errorCode(), equalTo(403));
}
protected void publishAuth(String server, String user, String pass, String roles) throws IOException {
final String idx = "auth";