proxy advertises only SASL PLAIN mechanism if it is supported by server
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Sat, 9 Dec 2006 01:33:11 +0000 (01:33 +0000)
committerThadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
Sat, 9 Dec 2006 01:33:11 +0000 (01:33 +0000)
commit20fcdde737b8412d9a69d4fb310a83c51fd2fcea
tree3b0faaa305c22d5a8b9e69ee8c490849a1589682
parent1202f5438da6b7f25876784f02fef05c25cceaaf
proxy advertises only SASL PLAIN mechanism if it is supported by server

If server supports SASL PLAIN mechanism, instead of advertising all
supported mechanisms to client, the proxy advertises only PLAIN. This
way, client is forced to use PLAIN. If server does not support or
allow use of PLAIN mechanism, proxy announces all of them. In the
future, it will announce only PLAIN and use whichever mechanism is
safer in the path from proxy to server.
jabber_server.c