[Bugfix] java: Disable Tight security type.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4201 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/java/src/com/tigervnc/vncviewer/RfbProto.java b/java/src/com/tigervnc/vncviewer/RfbProto.java
index e88d8e7..841b474 100644
--- a/java/src/com/tigervnc/vncviewer/RfbProto.java
+++ b/java/src/com/tigervnc/vncviewer/RfbProto.java
@@ -380,6 +380,7 @@
     byte[] secTypes = new byte[nSecTypes];
     readFully(secTypes);
 
+/*
     // Find out if the server supports TightVNC protocol extensions
     for (int i = 0; i < nSecTypes; i++) {
       if (secTypes[i] == SecTypeTight) {
@@ -388,6 +389,7 @@
 	return SecTypeTight;
       }
     }
+*/
 
     // Find first supported security type.
     for (int i = 0; i < nSecTypes; i++) {