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

org.mariadb.jdbc.plugin.Credential Maven / Gradle / Ivy

// SPDX-License-Identifier: LGPL-2.1-or-later
// Copyright (c) 2012-2014 Monty Program Ab
// Copyright (c) 2015-2021 MariaDB Corporation Ab

package org.mariadb.jdbc.plugin;

/** basic Credential (couple of user/password) */
public class Credential {
  private final String password;
  private final String user;

  /**
   * Constructor of basic credential
   *
   * @param user user
   * @param password password
   */
  public Credential(String user, String password) {
    this.user = user;
    this.password = password;
  }

  /**
   * Get user
   *
   * @return user
   */
  public String getUser() {
    return user;
  }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy