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 ka...@apache.org on 2006/07/07 11:57:05 UTC
svn commit: r419852 -
/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/LDAPAuthenticationSchemeImpl.java
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;