1 | void setTest(String newTest) {↵ | | 1 | void setUseAuth(String auth) {↵
|
2 | this.setProperty(TEST, newTest);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
|
4 | /*************************************************************************↵ | | 3 | USE_AUTH, auth);↵
|
| | | 4 | }↵
|
|
5 | **↵ | | 5 | /**↵
|
6 | * Gets the test attribute of the LDAPSampler object↵ | | 6 | * return whether jndi requires authentication↵
|
7 | * ↵ | | 7 | * ↵
|
8 | * @return The test value (Add,Modify,Delete and search)↵ | | 8 | * @return whe↵
|
9 | *************************************************************************↵ | | 9 | ther jndi requires authentication↵
|
10 | */↵ | | 10 | */↵
|
11 | public String getTest() {↵ | | 11 | public String getUseAuth() {↵
|
12 | return getPropertyAsString(TEST);↵ | | 12 | return getPropertyAsString(USE_AUTH);↵
|
13 | }↵ | | 13 | }↵
|
|
14 | /***************************************************************************↵ | | 14 | /**↵
|
15 | * Sets the attributes of the LdapConfig object↵ | | 15 | * set↵
|
16 | * ↵ | | |
|
17 | * @param newAttrs↵ | | |
|
18 | * The new attributes value↵ | | |
|
19 | *************************************************************************↵ | | 16 | whether the sampler should read the response or not↵
|
| | | 17 | * ↵
|
| | | 18 | * @param read whether the sampler should read the response or not↵
|
20 | */↵ | | 19 | */↵
|
21 | public void setAttrs(String newAttrs) {↵ | | 20 | public void setReadResponse(String read) {↵
|
22 | this.setProperty(ATTRIBS, newAttrs);↵ | | 21 | setProperty(↵
|
23 | }↵ | | |
|
|
24 | /*************************************************************************↵ | | 22 | READ_RESPONSE, read);↵
|
| | | 23 | }↵
|
|
25 | **↵ | | 24 | /**↵
|
26 | * Gets the attributes of the LDAPSampler object↵ | | 25 | * return whether the sampler should read the response↵
|
27 | * ↵ | | 26 | * ↵
|
28 | * @return The attributes↵ | | 27 | * @return whe↵
|
29 | *************************************************************************↵ | | 28 | ther the sampler should read the response↵
|
30 | */↵ | | 29 | */↵
|
31 | public String getAttrs() {↵ | | 30 | public String getReadResponse() {↵
|
32 | return getPropertyAsString(ATTRIBS);↵ | | 31 | return getPropertyAsString(READ_RESPONSE);↵
|
33 | } | | 32 | }
|