directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r645945 - /directory/studio/trunk/connection-core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
Date Tue, 08 Apr 2008 14:40:30 GMT
Author: seelmann
Date: Tue Apr  8 07:40:29 2008
New Revision: 645945

URL: http://svn.apache.org/viewvc?rev=645945&view=rev
Log:
Added comment

Modified:
    directory/studio/trunk/connection-core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java

Modified: directory/studio/trunk/connection-core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/connection-core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java?rev=645945&r1=645944&r2=645945&view=diff
==============================================================================
--- directory/studio/trunk/connection-core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
(original)
+++ directory/studio/trunk/connection-core/src/main/java/org/apache/directory/studio/connection/core/io/jndi/JNDIConnectionWrapper.java
Tue Apr  8 07:40:29 2008
@@ -785,6 +785,8 @@
         environment.put( "java.naming.ldap.version", "3" ); //$NON-NLS-1$ //$NON-NLS-2$
 
         // timeouts
+        // Don't use a timeout when using ldaps: JNDI throws a SocketException 
+        // when setting a timeout on SSL connections.
         if ( !useLdaps )
         {
             environment.put( "com.sun.jndi.ldap.connect.timeout", "10000" ); //$NON-NLS-1$
//$NON-NLS-2$



Mime
View raw message