1 | String getUseAuth() {↵ | | 1 | String getJNDIInitialContextFactory() {↵
|
2 | return getPropertyAsString(USE_AUTH);↵ | | 2 | return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * set whether the sampler should read the response or not↵ | | 5 | * set the provider user for jndi↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @param read whether the sampler should read the response or not↵ | | 7 | * @param url the provider URL↵
|
8 | */↵ | | 8 | */↵
|
9 | public void setReadResponse(String read) {↵ | | 9 | public void setProviderUrl(String url) {↵
|
10 | setProperty(READ_RESPONSE, read);↵ | | 10 | setProperty(PROVIDER_URL, url);↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * return whether the sampler should read the response↵ | | 13 | * method returns the provider url for jndi to connect to↵
|
14 | * ↵ | | 14 | * ↵
|
15 | * @return whether the sampler should read the response↵ | | 15 | * @return the provider URL↵
|
16 | */↵ | | 16 | */↵
|
17 | public String getReadResponse() {↵ | | 17 | public String getProviderUrl() {↵
|
18 | return getPropertyAsString(READ_RESPONSE);↵ | | 18 | return getPropertyAsString(PROVIDER_URL);↵
|
19 | } | | 19 | }
|