}
else
{
cipher = new Cipher(encryption);
}
String encryptedPassword = cipher.encode(password.trim());
LOGGER.fine("Encrypted Password: " + encryptedPassword);
LOGGER.fine("Stored Password: " + storedPassword);
if (!storedPassword.equals(encryptedPassword))
{
LOGGER.warning("MySQLSecurity: Invalid Username or Password");