directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r584321 - /directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java
Date Fri, 12 Oct 2007 23:30:16 GMT
Author: djencks
Date: Fri Oct 12 16:30:10 2007
New Revision: 584321

URL: http://svn.apache.org/viewvc?rev=584321&view=rev
Log:
redundant clarification to configure methods

Modified:
    directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java

Modified: directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java?rev=584321&r1=584320&r2=584321&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java
(original)
+++ directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java
Fri Oct 12 16:30:10 2007
@@ -59,6 +59,7 @@
     public void setUp() throws Exception
     {
         super.setUp();
+        setAllowAnonymousAccess( false );
 
         Hashtable<String, String> env = new Hashtable<String, String>();
         env.put( "java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory" );
@@ -80,8 +81,6 @@
     @Override
     protected void configureDirectoryService()
     {
-        setAllowAnonymousAccess( false );
-        ldapServer.setSaslHost( "localhost" );
 
         Set<Partition> partitions = new HashSet<Partition>();
         JdbmPartition partition = new JdbmPartition();
@@ -106,6 +105,13 @@
 
         partitions.add( partition );
         directoryService.setPartitions( partitions );
+    }
+
+
+    @Override
+    protected void configureLdapServer()
+    {
+        ldapServer.setSaslHost( "localhost" );
     }
 
     /**



Mime
View raw message