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

com.github.iarellano.rest_client.configuration.BasicCredentials Maven / Gradle / Ivy

Go to download

At times we need to consume external services as part of a build process, for example to verify which version of an API is deployed, verify that a service is online, get configurations from some remote storage provider, etc. This plugin is aimed to provide a way to make HTTP request either to get resources, upload files, submit forms, post json, post xml, etc.

There is a newer version: 1.0.2
Show newest version
package com.github.iarellano.rest_client.configuration;

/**
 * Created by isaiasarellano on 1/13/19.
 */
public class BasicCredentials {

    private String username = "";

    private String password = "";

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "BasicCredentials{" +
                "username='" + username + '\'' +
                ", password='*********'" +
                '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy