db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r419852 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java
Date Fri, 07 Jul 2006 09:57:05 GMT
Author: kahatlen
Date: Fri Jul  7 02:57:04 2006
New Revision: 419852

URL: http://svn.apache.org/viewvc?rev=419852&view=rev
Log:
DERBY-1000: For LDAP authentication: derby.authentication.server
should support ldaps:// as part of the server url.

Patch contributed by Anders Morken.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java?rev=419852&r1=419851&r2=419852&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java
Fri Jul  7 02:57:04 2006
@@ -225,7 +225,7 @@
 
 			} else {
 
-				if (ldapServer.startsWith(dfltLDAPURL))
+				if (ldapServer.startsWith(dfltLDAPURL) || ldapServer.startsWith("ldaps://") )
 					this.providerURL = ldapServer;
 				else if (ldapServer.startsWith("//"))
 					this.providerURL = "ldap:" + ldapServer;



Mime
View raw message