Update ldap test base class to use LdapContext by default.
This commit is contained in:
parent
ff1f1d8ef5
commit
e7ede68352
|
@ -70,6 +70,7 @@ public abstract class AbstractLdapServerTestCase extends TestCase {
|
||||||
idf = new DefaultInitialDirContextFactory(PROVIDER_URL);
|
idf = new DefaultInitialDirContextFactory(PROVIDER_URL);
|
||||||
idf.setInitialContextFactory(CONTEXT_FACTORY);
|
idf.setInitialContextFactory(CONTEXT_FACTORY);
|
||||||
idf.setExtraEnvVars(EXTRA_ENV);
|
idf.setExtraEnvVars(EXTRA_ENV);
|
||||||
|
idf.setUseLdapContext(true);
|
||||||
|
|
||||||
onSetUp();
|
onSetUp();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue