1 | void setUsername(String user) {↵ | | 1 | void setRootdn(String newRootdn) {↵
|
2 | setProperty(PRINCIPAL, user);↵ | | 2 | this.setProperty(ROOTDN, newRootdn);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * return the username used to login to the jms server↵ | | 5 | * Gets the ↵
|
6 | * ↵ | | |
|
7 | * @return the username used to login to the jms server↵ | | 6 | Rootdn attribute of the LDAPSampler object.↵
|
| | | 7 | * ↵
|
| | | 8 | * @return the Rootdn value↵
|
8 | */↵ | | 9 | */↵
|
9 | public String getUsername() {↵ | | 10 | public String getRootdn() {↵
|
10 | return getPropertyAsString(PRINCIPAL);↵ | | 11 | return getPropertyAsString(ROOTDN);↵
|
11 | }↵ | | 12 | }↵
|
|
12 | /**↵ | | 13 | /**↵
|
13 | * Set the password to login to the jms server↵ | | 14 | * Sets the ↵
|
14 | * ↵ | | |
|
15 | * @param pwd↵ | | 15 | Test attribute of the LdapConfig object.↵
|
| | | 16 | * ↵
|
| | | 17 | * @param newTest↵
|
| | | 18 | * the new test value(Add,Modify,Delete and search)↵
|
16 | */↵ | | 19 | */↵
|
17 | public void setPassword(String pwd) {↵ | | 20 | public void setTest(String newTest) {↵
|
18 | setProperty(CREDENTIALS, pwd);↵ | | 21 | this.setProperty(TEST, newTest);↵
|
19 | }↵ | | 22 | }↵
|
|
20 | /**↵ | | 23 | /**↵
|
21 | * return the password used to login to the jms server↵ | | 24 | * Gets the ↵
|
22 | * ↵ | | |
|
23 | * @return the password used to login to the jms server↵ | | 25 | test attribute of the LDAPSampler object.↵
|
| | | 26 | * ↵
|
| | | 27 | * @return the test value (Add, Modify, Delete and search)↵
|
24 | */↵ | | 28 | */↵
|
25 | public String getPassword() {↵ | | 29 | public String getTest() {↵
|
26 | return getPropertyAsString(CREDENTIALS);↵ | | 30 | return getPropertyAsString(TEST);↵
|
27 | | | 31 |
|