Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
3.3
-
None
-
None
-
Window 7, Java 7
Description
The following code prints out the user name in one instance and masks it in the other. The password is masked in both cases. I would prefer the user name to be masked in both cases as well.
FTPClient client = new FTPClient(); client.addProtocolCommandListener(new PrintCommandListener(System.out, true)); client.connect(host); client.login(user, pass);
Output (Notice the user name is printed on the response)
220 Microsoft FTP Service
USER *******
331 Password required for ftpTest.
PASS *******
230 User ftpTest logged in.