aboutsummaryrefslogtreecommitdiff
path: root/asmack-master/patch/24-disable-sasl-methods.patch
blob: eda5eb0f7c918c1867417daf61bcdd44aee63e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ../../src-unpatched/trunk/org/jivesoftware/smack/SASLAuthentication.java	2009-12-07 00:03:46.000000000 +0100
+++ org/jivesoftware/smack/SASLAuthentication.java	2009-12-07 00:05:46.000000000 +0100
@@ -91,11 +91,11 @@
         registerSASLMechanism("PLAIN", SASLPlainMechanism.class);
         registerSASLMechanism("ANONYMOUS", SASLAnonymous.class);
 
-        supportSASLMechanism("GSSAPI",0);
-        supportSASLMechanism("DIGEST-MD5",1);
-        supportSASLMechanism("CRAM-MD5",2);
-        supportSASLMechanism("PLAIN",3);
-        supportSASLMechanism("ANONYMOUS",4);
+//        supportSASLMechanism("GSSAPI",0);
+        supportSASLMechanism("DIGEST-MD5",0);
+//        supportSASLMechanism("CRAM-MD5",2);
+        supportSASLMechanism("PLAIN",1);
+        supportSASLMechanism("ANONYMOUS",2);
 
     }