| 1 |
/* |
| 2 |
* Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, |
| 3 |
* and the EPL 1.0 (https://h2database.com/html/license.html). |
| 4 |
* Initial Developer: Alessandro Ventura |
| 5 |
*/ |
| 6 |
package org.h2.security.auth; |
| 7 |
|
| 8 |
/** |
| 9 |
* Configuration property |
| 10 |
*/ |
| 11 |
public class PropertyConfig { |
| 12 |
|
| 13 |
private String name; |
| 14 |
|
| 15 |
private String value; |
| 16 |
|
| 17 |
public PropertyConfig() { |
| 18 |
} |
| 19 |
|
| 20 |
public PropertyConfig(String name, String value) { |
| 21 |
this.name = name; |
| 22 |
this.value = value; |
| 23 |
} |
| 24 |
|
| 25 |
public String getName() { |
| 26 |
return name; |
| 27 |
} |
| 28 |
|
| 29 |
public void setName(String name) { |
| 30 |
this.name = name; |
| 31 |
} |
| 32 |
|
| 33 |
public String getValue() { |
| 34 |
return value; |
| 35 |
} |
| 36 |
|
| 37 |
public void setValue(String value) { |
| 38 |
this.value = value; |
| 39 |
} |
| 40 |
} |