I took your code and built this app. I can't believe you actually got it to the validation stage, because I had to fix some pieces prior to getting it to run.
First,
needed to be changed to
, because
doesn't exist in your controller.
Second, the
tag doesn't appear to support 'required' or 'autofocus', so I got rid of them.
I commented-out the call to authenticationService to simplify
testing.
Once I made the above changes, the @Validation worked properly for hibernate validating username and password fields.