Integer httpResponseCode = e.getHttpResponseCode();
if (httpResponseCode != null && httpResponseCode == 401) {
throw new PlatformlayerInvalidCredentialsException("Invalid credentials");
}
throw new PlatformlayerAuthenticationClientException("Error authenticating", e);
}
// if (log.isDebugEnabled()) {
// if (response.getAccess().getProjects() != null) {
// for (String project : response.getAccess().getProjects()) {