1 | String getPort() {↵ | | 1 | String getXmlData() {↵
|
2 | return getPropertyAsString(PORT);↵ | | 2 | return getPropertyAsString(XML_DATA);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the Rootdn attribute of the LDAPSampler object.↵ | | |
|
6 | * ↵ | | |
|
7 | * @param newRootdn↵ | | |
|
8 | * the new rootdn value↵ | | |
|
9 | ↵ | | 5 | * it's kinda obvious, but we state it anyways. Set the xml file with a↵
|
| | | 6 | * string path.↵
|
| | | 7 | *↵
|
| | | 8 | * @param filename↵
|
10 | */↵ | | 9 | */↵
|
11 | public void setRootdn(String newRootdn) {↵ | | 10 | public void setXmlFile(String ↵
|
12 | this.setProperty(ROOTDN, newRootdn);↵ | | |
|
13 | ↵ | | 11 | filename) {↵
|
| | | 12 | setProperty(XML_DATA_FILE, filename);↵
|
14 | }↵ | | 13 | }↵
|
|
15 | /**↵ | | 14 | /**↵
|
16 | * Gets the Rootdn attribute of the LDAPSampler object.↵ | | 15 | * Get the ↵
|
17 | ↵ | | 16 | file location of the xml file.↵
|
18 | * ↵ | | 17 | *↵
|
19 | * @return the Rootdn value↵ | | 18 | * @return ↵
|
20 | ↵ | | 19 | String file path.↵
|
21 | */↵ | | 20 | */↵
|
22 | public String getRootdn() {↵ | | 21 | public String get↵
|
23 | ↵ | | 22 | XmlFile() {↵
|
24 | return getPropertyAsString(ROOTDN);↵ | | 23 | return getPropertyAsString(↵
|
25 | ↵ | | 24 | XML_DATA_FILE);↵
|
26 | } | | 25 | }
|