configureRequest(method);
logRequestDetails(method, PRIMAL_USER_API_URL);
final int httpCode = httpClient.executeMethod(method);
if (HTTP_OK != httpCode) {
if (HTTP_UNAUTHORIZED == httpCode) {
throw new PrimalAuthenticationException();
} else {
logger.error("error retrieving users: " + method.getResponseBodyAsString());
throw new PrimalException("error retrieving users", httpCode);
}
} else {