From e7ede68352183168b10ab51a08f541b36160af85 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Fri, 7 Sep 2007 20:52:03 +0000 Subject: [PATCH] Update ldap test base class to use LdapContext by default. --- .../java/org/acegisecurity/ldap/AbstractLdapServerTestCase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/test/java/org/acegisecurity/ldap/AbstractLdapServerTestCase.java b/core/src/test/java/org/acegisecurity/ldap/AbstractLdapServerTestCase.java index dc8bebb276..5f61bab1f2 100644 --- a/core/src/test/java/org/acegisecurity/ldap/AbstractLdapServerTestCase.java +++ b/core/src/test/java/org/acegisecurity/ldap/AbstractLdapServerTestCase.java @@ -70,6 +70,7 @@ public abstract class AbstractLdapServerTestCase extends TestCase { idf = new DefaultInitialDirContextFactory(PROVIDER_URL); idf.setInitialContextFactory(CONTEXT_FACTORY); idf.setExtraEnvVars(EXTRA_ENV); + idf.setUseLdapContext(true); onSetUp(); }