if (myIdType.equalsIgnoreCase(idType)) {
System.out.println("ID match");
String idValue = id.getValue();
System.out.println("value="+idValue);
if (password.indexOf(idValue)!=-1) {
ValidationStatus vs=new ValidationStatus();
try {
vs.setStatusCode(validationStatusCode);
vs.setExplanation(explanation);
vs.setDescription(description);
} catch (EnterpriseFieldException e) {
e.printStackTrace();
throw new PasswordValidationException(e.getMessage());
}
return vs;