[jcifs] SMBException prints passwords
Michael B Allen
mba2000 at ioplex.com
Sun Jun 27 17:48:11 GMT 2004
On Sun, 27 Jun 2004 18:28:44 +0200
Rolf.Breuning at t-online.de (Rolf Breuning) wrote:
> I thus propose to change either the toString() method of SmbFile or at
> least the respective method of SmbException in such a way, that it does
> not return the password, but something like a "....".
No. You should not use passwords in an SMB URL or any other URL for that
matter. It is there only as a convenience. You should create an NPA and
use that to build jCIFS objects instead.
Mike.
--
Greedo shoots first? Not in my Star Wars.
More information about the jcifs
mailing list