From 2ea8dc2cee363ce631c5269d27ce0e1151124007 Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Mon, 14 Nov 2011 21:18:01 +0200 Subject: [PATCH] Issue 754:fix swift to use the documented X-Auth-User headers, and not X-Storage-... which is not universally supported --- .../swift/config/SwiftRestClientModule.java | 22 +------------------ 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/apis/swift/src/main/java/org/jclouds/openstack/swift/config/SwiftRestClientModule.java b/apis/swift/src/main/java/org/jclouds/openstack/swift/config/SwiftRestClientModule.java index 6484698635..8287f8cace 100644 --- a/apis/swift/src/main/java/org/jclouds/openstack/swift/config/SwiftRestClientModule.java +++ b/apis/swift/src/main/java/org/jclouds/openstack/swift/config/SwiftRestClientModule.java @@ -63,27 +63,7 @@ public class SwiftRestClientModule extends BaseSwiftRestClientModule authenticate() { - return client.authenticateStorage(user, key); - } - - } - protected URI provideStorageUrl(AuthenticationResponse response) { return response.getServices().get(AuthHeaders.STORAGE_URL); - } - - @Override - protected void configure() { - bind(GetAuthenticationResponse.class).to(GetAuthenticationResponseForStorage.class); - super.configure(); - } + } }