Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-adapter-utils / src / main / java / org / onap / so / cloud / authentication / models / RackspaceAuthentication.java
index 009c9a4..f8fa78c 100644 (file)
@@ -21,7 +21,6 @@
 package org.onap.so.cloud.authentication.models;
 
 import java.io.Serializable;
-
 import com.fasterxml.jackson.annotation.JsonIgnore;
 import com.fasterxml.jackson.annotation.JsonProperty;
 import com.fasterxml.jackson.annotation.JsonRootName;
@@ -29,74 +28,77 @@ import com.woorea.openstack.keystone.model.Authentication;
 
 @JsonRootName("auth")
 public class RackspaceAuthentication extends Authentication {
-               
-       /**
-        * 
-        */
-       private static final long serialVersionUID = 5451283386875662918L;
-
-       @JsonIgnore
-       private String tenantId;
-       
-       @JsonIgnore
-       private String tenantName;
-       
-       public static final class Token implements Serializable{
-               
-               /**
-                * 
-                */
-               private static final long serialVersionUID = -4448875265818207908L;
-               private String username;
-               private String apiKey;
-
-               /**
-                * @return the username
-                */
-               public String getUsername() {
-                       return username;
-               }
-               /**
-                * @param username the username to set
-                */
-               public void setUsername(String username) {
-                       this.username = username;
-               }
-               /**
-                * @return the apiKey
-                */
-               public String getApiKey() {
-                       return apiKey;
-               }
-               /**
-                * @param apiKey the apiKey to set
-                */
-               public void setApiKey(String apiKey) {
-                       this.apiKey = apiKey;
-               }
-       }
-       
-       @JsonProperty("RAX-KSKEY:apiKeyCredentials")
-       private Token token = new Token();
-       
-       public RackspaceAuthentication (String username, String apiKey) {
-               this.token.username = username;
-               this.token.apiKey = apiKey;
-       
-       }
-
-       /**
-        * @return the token
-        */
-       public Token getToken() {
-               return token;
-       }
-
-       /**
-        * @param token the token to set
-        */
-       public void setToken(Token token) {
-               this.token = token;
-       }
-       
+
+    /**
+     * 
+     */
+    private static final long serialVersionUID = 5451283386875662918L;
+
+    @JsonIgnore
+    private String tenantId;
+
+    @JsonIgnore
+    private String tenantName;
+
+    public static final class Token implements Serializable {
+
+        /**
+         * 
+         */
+        private static final long serialVersionUID = -4448875265818207908L;
+        private String username;
+        private String apiKey;
+
+        /**
+         * @return the username
+         */
+        public String getUsername() {
+            return username;
+        }
+
+        /**
+         * @param username the username to set
+         */
+        public void setUsername(String username) {
+            this.username = username;
+        }
+
+        /**
+         * @return the apiKey
+         */
+        public String getApiKey() {
+            return apiKey;
+        }
+
+        /**
+         * @param apiKey the apiKey to set
+         */
+        public void setApiKey(String apiKey) {
+            this.apiKey = apiKey;
+        }
+    }
+
+    @JsonProperty("RAX-KSKEY:apiKeyCredentials")
+    private Token token = new Token();
+
+    public RackspaceAuthentication(String username, String apiKey) {
+        this.token.username = username;
+        this.token.apiKey = apiKey;
+
+    }
+
+    /**
+     * @return the token
+     */
+    public Token getToken() {
+        return token;
+    }
+
+    /**
+     * @param token the token to set
+     */
+    public void setToken(Token token) {
+        this.token = token;
+    }
+
 }