More on [ 1577737 ] Security Breach - show database password

http://sourceforge.net/tracker/index.php?func=detail&aid=1577737&group_id=176962&atid=879332
This commit is contained in:
Carlos Ruiz 2006-12-11 08:42:14 +00:00
parent 5f1dadc894
commit a97c410f31
1 changed files with 6 additions and 3 deletions

View File

@ -192,7 +192,8 @@ public class Secure implements SecureInterface
}
catch (Exception ex)
{
log.log(Level.INFO, value, ex);
// log.log(Level.INFO, value, ex);
log.log(Level.INFO, "Problem encrypting string", ex);
}
}
// Fallback
@ -218,7 +219,8 @@ public class Secure implements SecureInterface
{
if (isEncrypted)
{
log.info("Failed: " + value);
// log.info("Failed: " + value);
log.info("Failed");
return null;
}
// assume not encrypted
@ -243,7 +245,8 @@ public class Secure implements SecureInterface
}
catch (Exception ex)
{
log.info("Failed: " + value + " - " + ex.toString());
// log.info("Failed: " + value + " - " + ex.toString());
log.info("Failed decrypting " + ex.toString());
}
}
return null;