[ 1717620 ] DB password printed on screen.

- Do not save password to client machine for wan profile
This commit is contained in:
Heng Sin Low 2007-05-22 03:48:51 +00:00
parent e4448cb588
commit ea4ca0ed26
1 changed files with 4 additions and 1 deletions

View File

@ -1575,7 +1575,10 @@ public class CConnection implements Serializable
setDbPort (svr.getDbPort ());
setDbName (svr.getDbName ());
setDbUid (svr.getDbUid ());
setDbPwd (svr.getDbPwd ());
if (isRMIoverHTTP())
setDbPwd ("");
else
setDbPwd (svr.getDbPwd ());
setBequeath (false);
//
setFwHost (svr.getFwHost ());