directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r618231 - /directory/studio/trunk/studio-connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/ConnectionLabelProvider.java
Date Mon, 04 Feb 2008 10:51:43 GMT
Author: pamarcelot
Date: Mon Feb  4 02:51:40 2008
New Revision: 618231

URL: http://svn.apache.org/viewvc?rev=618231&view=rev
Log:
Displaying the Connection icon with lock for a START TLS connection too.

Modified:
    directory/studio/trunk/studio-connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/ConnectionLabelProvider.java

Modified: directory/studio/trunk/studio-connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/ConnectionLabelProvider.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/ConnectionLabelProvider.java?rev=618231&r1=618230&r2=618231&view=diff
==============================================================================
--- directory/studio/trunk/studio-connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/ConnectionLabelProvider.java
(original)
+++ directory/studio/trunk/studio-connection-ui/src/main/java/org/apache/directory/studio/connection/ui/widgets/ConnectionLabelProvider.java
Mon Feb  4 02:51:40 2008
@@ -94,7 +94,8 @@
         else if ( obj instanceof Connection )
         {
             Connection conn = ( Connection ) obj;
-            if ( conn.getEncryptionMethod() == EncryptionMethod.LDAPS )
+            if ( ( conn.getEncryptionMethod() == EncryptionMethod.LDAPS )
+                || ( conn.getEncryptionMethod() == EncryptionMethod.START_TLS ) )
             {
                 return conn.getJNDIConnectionWrapper().isConnected() ? ConnectionUIPlugin.getDefault().getImage(
                     ConnectionUIConstants.IMG_CONNECTION_SSL_CONNECTED ) : ConnectionUIPlugin.getDefault().getImage(



Mime
View raw message