title: How to validate login credentials in symfony (server side) for length, text etc?
body: <p>I am using Symfony 2.4.4, default login mechanism that comes with it.<br/>
  I am able to validate the username &amp; password from DB by linking the entities, but i would also like to validate my username and password for length etc... <br/>
  Any suggestions?</p>