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:
parent
5f1dadc894
commit
a97c410f31
|
@ -192,7 +192,8 @@ public class Secure implements SecureInterface
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
log.log(Level.INFO, value, ex);
|
// log.log(Level.INFO, value, ex);
|
||||||
|
log.log(Level.INFO, "Problem encrypting string", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Fallback
|
// Fallback
|
||||||
|
@ -218,7 +219,8 @@ public class Secure implements SecureInterface
|
||||||
{
|
{
|
||||||
if (isEncrypted)
|
if (isEncrypted)
|
||||||
{
|
{
|
||||||
log.info("Failed: " + value);
|
// log.info("Failed: " + value);
|
||||||
|
log.info("Failed");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
// assume not encrypted
|
// assume not encrypted
|
||||||
|
@ -243,7 +245,8 @@ public class Secure implements SecureInterface
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
log.info("Failed: " + value + " - " + ex.toString());
|
// log.info("Failed: " + value + " - " + ex.toString());
|
||||||
|
log.info("Failed decrypting " + ex.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue