1 | String getTest() {↵ | | 1 | String getJNDIInitialContextFactory() {↵
|
2 | return getPropertyAsString(TEST);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | /*************************************************************************↵ | | 3 | JNDI_INITIAL_CONTEXT_FAC);↵
|
| | | 4 | }↵
|
|
5 | **↵ | | 5 | /**↵
|
6 | * Sets the attributes of the LdapConfig object↵ | | 6 | * set the ↵
|
7 | * ↵ | | |
|
8 | * @param newAttrs↵ | | |
|
9 | * The new attributes value↵ | | |
|
10 | *************************************************************************↵ | | 7 | provider user for jndi↵
|
| | | 8 | * ↵
|
| | | 9 | * @param url the provider URL↵
|
11 | */↵ | | 10 | */↵
|
12 | public void setAttrs(String newAttrs) {↵ | | 11 | public void setProviderUrl(String url) {↵
|
13 | this.setProperty(ATTRIBS, newAttrs);↵ | | 12 | setProperty(↵
|
14 | }↵ | | |
|
|
15 | /*************************************************************************↵ | | 13 | PROVIDER_URL, url);↵
|
| | | 14 | }↵
|
|
16 | **↵ | | 15 | /**↵
|
17 | * Gets the attributes of the LDAPSampler object↵ | | 16 | * method returns the provider url for jndi to connect to↵
|
18 | * ↵ | | 17 | * ↵
|
19 | * @return The attributes↵ | | 18 | * @return the ↵
|
20 | *************************************************************************↵ | | 19 | provider URL↵
|
21 | */↵ | | 20 | */↵
|
22 | public String getAttrs() {↵ | | 21 | public String getProviderUrl() {↵
|
23 | return getPropertyAsString(ATTRIBS);↵ | | 22 | return getPropertyAsString(PROVIDER_URL);↵
|
24 | } | | 23 | }
|