title: can @Email and spring custom validation coexists?
body: <p>I need to validate Email and password while creating an account using web services. I am using Spring REST controller and plan to use @Email(hibernate validator) annotation for email id validation.For Password validation I have to write custom validator by implementing Validator interface. </p>
  
  <pre><code>@XmlRootElement
  public class Account implements Serializable {
  
      @Email(message =AccountErrorCodes.ACCOUNT_EMAIL_VALIDATION)
      private String emailId;
  
      private String password;
  </code></pre>
  
  <p>For password writing the own validator</p>
  
  <pre><code>@Autowired
  private PasswordValidator passwordValidator;
  
  @InitBinder
  private void initBinder(WebDataBinder binder) {
      binder.setValidator(passwordValidator);
  }
  </code></pre>
  
  <p>It looks like both cant coexist. When I try to validate EmailId spring calls passwordValidator but fails to validate Email. I expect the failure due to incorrect Email id. When I disable the custom validator I get the required error message.</p>
  
  <p>Looks like I am missing something. Do I need to do something to make it work? or it is not supported? If not supported Can I call Hibernate validator directly from spring custom validator to avoid writing my own validation for email?</p>