From 495078893651ef84ac8bc9d26262e61d2d7e1e88 Mon Sep 17 00:00:00 2001 From: xuegao Date: Fri, 24 Feb 2017 17:29:21 +0100 Subject: [MSO-8]Remove RackspaceAuthentication This removes the RackspaceAuthentication from the Openstack Java SDK as it will be managed by the core adapter utils. Change-Id: I9b6118e9952acbc80c8a80a5b18611c69a0dec1c Signed-off-by: xuegao --- .../main/java/com/woorea/openstack/keystone/api/TokensResource.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'keystone-client/src/main/java/com') diff --git a/keystone-client/src/main/java/com/woorea/openstack/keystone/api/TokensResource.java b/keystone-client/src/main/java/com/woorea/openstack/keystone/api/TokensResource.java index 4f30313..06da8ca 100644 --- a/keystone-client/src/main/java/com/woorea/openstack/keystone/api/TokensResource.java +++ b/keystone-client/src/main/java/com/woorea/openstack/keystone/api/TokensResource.java @@ -11,7 +11,6 @@ import com.woorea.openstack.base.client.OpenStackRequest; import com.woorea.openstack.keystone.model.Access; import com.woorea.openstack.keystone.model.Authentication; import com.woorea.openstack.keystone.model.authentication.AccessKey; -import com.woorea.openstack.keystone.model.authentication.RackspaceAuthentication; import com.woorea.openstack.keystone.model.authentication.TokenAuthentication; import com.woorea.openstack.keystone.model.authentication.UsernamePassword; @@ -66,11 +65,6 @@ public class TokensResource { return new Authenticate(authentication); } - public Authenticate withRackspace(String username, String apiKey, String region) { - Authentication authentication = new RackspaceAuthentication(username, apiKey); - return new Authenticate(authentication); - } - public Authenticate withAccessKey(String accessKey, String secretKey) { Authentication authentication = new AccessKey(accessKey, secretKey); return new Authenticate(authentication); -- cgit 1.2.3-korg