1 | void setJNDIIntialContextFactory(String icf) {↵ | | 1 | void setTest(String newTest) {↵
|
2 | setProperty(JNDI_INITIAL_CONTEXT_FAC, icf);↵ | | 2 | this.setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * method returns the initial con↵ | | 3 | TEST, newTest);↵
|
| | | 4 | }↵
|
|
| | | 5 | /***************************************************************************↵
|
6 | text factory for jndi initial context↵ | | 6 | * Gets the test ↵
|
7 | * lookup.↵ | | 7 | attribute of the LDAPSampler object↵
|
8 | * ↵ | | 8 | * ↵
|
9 | * @return the initial context factory ↵ | | 9 | * @return The ↵
|
10 | */↵ | | |
|
11 | public String getJNDIInitialContextFactory↵ | | 10 | test value (Add,Modify,Delete and search)↵
|
| | | 11 | **************************************************************************/↵
|
12 | () {↵ | | 12 | public String getTest() {↵
|
13 | return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC);↵ | | 13 | return getPropertyAsString(↵
|
14 | }↵ | | |
|
|
15 | /↵ | | 14 | TEST);↵
|
| | | 15 | }↵
|
|
16 | **↵ | | 16 | /***************************************************************************↵
|
17 | * set the provider user for jndi↵ | | 17 | * Sets the ↵
|
18 | * ↵ | | |
|
19 | * @param url the provider URL↵ | | |
|
20 | ↵ | | 18 | attributes of the LdapConfig object↵
|
| | | 19 | * ↵
|
| | | 20 | * @param newAttrs↵
|
| | | 21 | * The new attributes value↵
|
21 | */↵ | | 22 | **************************************************************************/↵
|
22 | public void setProviderUrl(String url) {↵ | | 23 | public void setAttrs(String newAttrs) {↵
|
23 | setProperty(PROVIDER_URL, url);↵ | | 24 | this.setProperty(ATTRIBS, newAttrs);↵
|
24 | | | 25 |
|