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
1 changed files with 2 additions and 0 deletions

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);
}