2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.ftpupload.internal.ftp;
16 * Simple wrapper class to store user name and password pairs.
18 * @author Pauli Anttila - Initial contribution
20 class UsernamePassword {
21 private String username;
22 private String password;
24 UsernamePassword(String username, String password) {
25 this.setUsername(username);
26 this.setPassword(password);
29 public String getUsername() {
33 public void setUsername(String username) {
34 this.username = username;
37 public String getPassword() {
41 public void setPassword(String password) {
42 this.password = password;