com.cloudcontrolled.api.client.auth
Class Credentials

java.lang.Object
  extended by com.cloudcontrolled.api.client.auth.Credentials

public class Credentials
extends Object

Credentials class.

Author:
Denis Neuling (denisneuling@gmail.com)

Constructor Summary
Credentials()
           Constructor for Credentials.
Credentials(String userName, String password)
           Constructor for Credentials.
 
Method Summary
 String getPassword()
           Getter for the field password.
 String getUserName()
           Getter for the field userName.
 void setPassword(String password)
           Setter for the field password.
 void setUserName(String userName)
           Setter for the field userName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials()

Constructor for Credentials.


Credentials

public Credentials(String userName,
                   String password)

Constructor for Credentials.

Parameters:
userName - a String object.
password - a String object.
Method Detail

getUserName

public String getUserName()

Getter for the field userName.

Returns:
a String object.

setUserName

public void setUserName(String userName)

Setter for the field userName.

Parameters:
userName - a String object.

getPassword

public String getPassword()

Getter for the field password.

Returns:
a String object.

setPassword

public void setPassword(String password)

Setter for the field password.

Parameters:
password - a String object.


Copyright © 2012. All Rights Reserved.