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