String pass = password;
try {
if (Validator.isValid(pass)) {
Cipher cipher = Cipher.getInstance();
byte[] coded = Base64Coder.decrypt(pass);
pass = new String(cipher.decrypt(coded));
}
} catch (Exception e) {
String error = "Erro ao decifrar a senha.";
Logger.error(error, e);
throw new ValidationException(error);