directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r567977 [2/2] - in /directory/sandbox/djencks/triplesec-jacc2: ./ admin-api2/ guardian-ldap/ installers/src/main/installers/ integration/ integration/src/main/java/org/apache/directory/triplesec/integration/ integration/src/test/java/org/ap...
Date Tue, 21 Aug 2007 06:39:42 GMT
Modified: directory/sandbox/djencks/triplesec-jacc2/verifier/src/test/java/org/apache/directory/triplesec/verifier/hotp/HotpSamVerifierITest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/djencks/triplesec-jacc2/verifier/src/test/java/org/apache/directory/triplesec/verifier/hotp/HotpSamVerifierITest.java?rev=567977&r1=567976&r2=567977&view=diff
==============================================================================
--- directory/sandbox/djencks/triplesec-jacc2/verifier/src/test/java/org/apache/directory/triplesec/verifier/hotp/HotpSamVerifierITest.java
(original)
+++ directory/sandbox/djencks/triplesec-jacc2/verifier/src/test/java/org/apache/directory/triplesec/verifier/hotp/HotpSamVerifierITest.java
Mon Aug 20 23:39:41 2007
@@ -65,6 +65,8 @@
 import org.apache.directory.server.schema.bootstrap.Schema;
 import org.apache.directory.server.schema.registries.DefaultRegistries;
 import org.apache.directory.server.schema.registries.DefaultOidRegistry;
+import org.apache.directory.server.protocol.shared.store.LdifFileLoader;
+import org.apache.directory.server.protocol.shared.store.LdifLoadFilter;
 import org.apache.directory.triplesec.otp.Hotp;
 import org.apache.directory.triplesec.otp.HotpErrorConstants;
 import org.apache.directory.triplesec.otp.ResynchParameters;
@@ -97,7 +99,7 @@
 
     protected void setUp() throws Exception
     {
-        File workingDirectory = new File ( System.getProperty( "workingDirectory" ) ); 
+        File workingDirectory = new File ( System.getProperty( "workingDirectory", "target/working")
); 
         if ( ! workingDirectory.exists() ) 
         {
             workingDirectory.mkdirs();
@@ -172,10 +174,8 @@
 
         store = new DefaultServerProfileStore( userContext );
         store.init();
-//TODO find what happened to Krb5KdcEntryFilter and uncomment this code
-//        List filters = Collections.singletonList( new Krb5KdcEntryFilter() );
-//        LdifFileLoader ldifLoader = new LdifFileLoader( userContext, new File( "triplesec.ldif"
), filters, getClass().getClassLoader() );
-//        ldifLoader.execute();
+        LdifFileLoader ldifLoader = new LdifFileLoader( userContext, new File( "triplesec.ldif"
), Collections.<LdifLoadFilter>emptyList(), getClass().getClassLoader() );
+        ldifLoader.execute();
     }
 
 



Mime
View raw message