You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by dj...@apache.org on 2007/10/13 01:30:16 UTC
svn commit: r584321 -
/directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/SaslBindITest.java
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" );
}
/**