}
catch (javax.persistence.NoResultException e) {}
if (customer == null) {
jsonResult.put("status", Constants.WEBSERVICE_STATUS_FAILED);
jsonResult.put("custPasswordError", Languages.getLangTranValue(language.getLangId(), "content.error.login.invalid"));
this.streamWebService(response, jsonResult.toHtmlString());
return null;
}
if (!AESEncoder.getInstance().decode(customer.getCustPassword()).equals(custPassword)) {
jsonResult.put("status", Constants.WEBSERVICE_STATUS_FAILED);
jsonResult.put("custPasswordError", Languages.getLangTranValue(language.getLangId(), "content.error.login.invalid"));