1 | void setUsername(String username) {↵ | | 1 | void setServername(String servername) {↵
|
2 | setProperty(new StringProperty(ConfigTestElement.USERNAME, username));↵ | | 2 | setProperty(new StringProperty(SERVERNAME, servername));↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the Password attribute of the LoginConfig object.↵ | | 5 | * Sets the Port attribute of the ServerConfig object.↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param password↵ | | 7 | * @param port↵
|
8 | * the new Password value↵ | | 8 | * the new Port value↵
|
9 | */↵ | | 9 | */↵
|
10 | public void setPassword(String password) {↵ | | 10 | public void setPort(String port) {↵
|
11 | setProperty(new StringProperty(ConfigTestElement.PASSWORD, password));↵ | | 11 | setProperty(new StringProperty(PORT, port));↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Gets the Username attribute of the LoginConfig object.↵ | | 14 | * Gets the servername attribute of the LDAPSampler object.↵
|
15 | * ↵ | | 15 | * ↵
|
16 | * @return the Username value↵ | | 16 | * @return the Servername value↵
|
17 | */↵ | | 17 | */↵
|
18 | public String getUsername() {↵ | | 18 | public String getServername() {↵
|
19 | return getPropertyAsString(ConfigTestElement.USERNAME);↵ | | 19 | return getPropertyAsString(SERVERNAME);↵
|
20 | }↵ | | 20 | }↵
|
|
21 | /**↵ | | 21 | /**↵
|
22 | * Gets the Password attribute of the LoginConfig object.↵ | | 22 | * Gets the Port attribute of the LDAPSampler object.↵
|
23 | * ↵ | | 23 | * ↵
|
24 | * @return the Password value↵ | | 24 | * @return the Port value↵
|
25 | */↵ | | 25 | */↵
|
26 | public String getPassword() {↵ | | 26 | public String getPort() {↵
|
27 | return getPropertyAsString(ConfigTestElement.PASSWORD);↵ | | 27 | return getPropertyAsString(PORT);↵
|
28 | | | 28 |
|