Method 2 works great, apart from you lose the ability to get your hibernate validation
annotations automagically being applied to your username, password fields...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027807#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...