1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

Fix: Hide password during AUTH PLAIN in SMTP logs

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@343 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-02-11 13:22:38 +00:00
parent 78ac1ebbbb
commit af5ac5448a

View File

@ -121,6 +121,8 @@ public class AbstractConnection extends Thread {
// HTTP Basic Authentication
} else if (line.startsWith("Authorization:")) {
DavGatewayTray.debug("< Authorization: ********");
} else if (line.startsWith("AUTH PLAIN")) {
DavGatewayTray.debug("< AUTH PLAIN ********");
} else {
DavGatewayTray.debug("< " + line);
}