]> git.basschouten.com Git - openhab-addons.git/blob
9308550760831afb01170275fcfd64a66c595585
[openhab-addons.git] /
1 /**
2  * Copyright (c) 2010-2023 Contributors to the openHAB project
3  *
4  * See the NOTICE file(s) distributed with this work for additional
5  * information.
6  *
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
10  *
11  * SPDX-License-Identifier: EPL-2.0
12  */
13 package org.openhab.binding.ftpupload.internal.ftp;
14
15 /**
16  * Simple wrapper class to store user name and password pairs.
17  *
18  * @author Pauli Anttila - Initial contribution
19  */
20 class UsernamePassword {
21     private String username;
22     private String password;
23
24     UsernamePassword(String username, String password) {
25         this.setUsername(username);
26         this.setPassword(password);
27     }
28
29     public String getUsername() {
30         return username;
31     }
32
33     public void setUsername(String username) {
34         this.username = username;
35     }
36
37     public String getPassword() {
38         return password;
39     }
40
41     public void setPassword(String password) {
42         this.password = password;
43     }
44 }