You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by kr...@apache.org on 2012/10/01 15:58:15 UTC
svn commit: r1392338 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/InvalidLDAPServerAuthenticationTest.java
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
+}