db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r1392338 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java
Date Mon, 01 Oct 2012 13:58:15 GMT
Author: kristwaa
Date: Mon Oct  1 13:58:15 2012
New Revision: 1392338

URL: http://svn.apache.org/viewvc?rev=1392338&view=rev
Log:
DERBY-5941: Assert failure in jdbcapi.InvalidLDAPServerAuthenticationTest.testInvalidLDAPServerConnectionError

Use .invalid for invalid/non-existngs hosts (see RFC 2606).

Patch file: derby-5941-1a-rfc2606.diff

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java?rev=1392338&r1=1392337&r2=1392338&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java
Mon Oct  1 13:58:15 2012
@@ -97,7 +97,7 @@ public class InvalidLDAPServerAuthentica
         // set the ldap properties
         setDatabaseProperty("derby.connection.requireAuthentication", "true", conn);
         setDatabaseProperty("derby.authentication.provider", "LDAP", conn);
-        setDatabaseProperty("derby.authentication.server", "noSuchServer", conn);
+        setDatabaseProperty("derby.authentication.server", "noSuchServer.invalid", conn);
         setDatabaseProperty("derby.authentication.ldap.searchBase", "o=dnString", conn);
         setDatabaseProperty("derby.authentication.ldap.searchFilter","(&(objectClass=inetOrgPerson)(uid=%USERNAME%))",
conn);
         commit();
@@ -165,4 +165,4 @@ public class InvalidLDAPServerAuthentica
             //do nothing;
         }
     }
-}
\ No newline at end of file
+}



Mime
View raw message