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