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

dk.cwconsult.tempgres.data.Credentials Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package dk.cwconsult.tempgres.data;

/**
 * Credentials to supply for authentication.
 */
public class Credentials {

  /**
   * User name.
   */
  private final String userName;

  /**
   * Password.
   */
  private final String password;

  /**
   * Create a new {@linkplain Credentials} instance.
   */
  public Credentials(String userName, String password) {
    this.userName = userName;
    this.password = password;
  }

  /**
   * Get the user name.
   */
  public String getUserName() {
    return userName;
  }

  /**
   * Get the password.
   */
  public String getPassword() {
    return password;
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy