1 | String getPort() {↵ | | 1 | String getJNDIInitialContextFactory() {↵
|
2 | return getPropertyAsString(PORT);↵ | | 2 | return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Sets the Rootdn attribute of the LDAPSampler object.↵ | | 5 | * set the ↵
|
6 | * ↵ | | |
|
7 | * @param newRootdn↵ | | |
|
8 | * the new rootdn value↵ | | 6 | provider user for jndi↵
|
| | | 7 | * ↵
|
| | | 8 | * @param url the provider URL↵
|
9 | */↵ | | 9 | */↵
|
10 | public void setRootdn(String newRootdn) {↵ | | 10 | public void setProviderUrl(String url) {↵
|
11 | this.setProperty(ROOTDN, newRootdn);↵ | | 11 | setProperty(PROVIDER_URL, url);↵
|
12 | }↵ | | 12 | }↵
|
|
13 | /**↵ | | 13 | /**↵
|
14 | * Gets the Rootdn attribute of the LDAPSampler object.↵ | | 14 | * method returns the provider url for jndi to connect to↵
|
15 | * ↵ | | 15 | * ↵
|
16 | * @return the Rootdn value↵ | | 16 | * @return the provider URL↵
|
17 | */↵ | | 17 | */↵
|
18 | public String getRootdn() {↵ | | 18 | public String getProviderUrl() {↵
|
19 | return getPropertyAsString(ROOTDN);↵ | | 19 | return getPropertyAsString(PROVIDER_URL);↵
|
20 | } | | 20 | }
|