All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cloudcontrolled.api.client.auth.Credentials Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2012 Denis Neuling 
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License. 
 */
package com.cloudcontrolled.api.client.auth;

/**
 * 

* Credentials class. *

* * @author Denis Neuling ([email protected]) * */ public class Credentials { private String userName; private String password; /** *

* Constructor for Credentials. *

*/ public Credentials() { } /** *

* Constructor for Credentials. *

* * @param userName * a {@link java.lang.String} object. * @param password * a {@link java.lang.String} object. */ public Credentials(String userName, String password) { this.userName = userName; this.password = password; } /** *

* Getter for the field userName. *

* * @return a {@link java.lang.String} object. */ public String getUserName() { return userName; } /** *

* Setter for the field userName. *

* * @param userName * a {@link java.lang.String} object. */ public void setUserName(String userName) { this.userName = userName; } /** *

* Getter for the field password. *

* * @return a {@link java.lang.String} object. */ public String getPassword() { return password; } /** *

* Setter for the field password. *

* * @param password * a {@link java.lang.String} object. */ public void setPassword(String password) { this.password = password; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy