Juan Manuel Diaz wrote:I made it works!
I understand that my login.xhtml page is just that... a login page. I was pointing to it in my welcome-file of the web.xml file... now I point to /faces/home.xhtml and everything looks works fine!
But I needed to use a <form> tag to the form... the effect of use this tag is a message telling:
Warning: This page calls for XML namespace declared with prefix form but no taglibrary exists for that namespace.
I supose that i need a loginBean to use a <h:form> tag and <h:commandButton> right?
Thanks,
JM
I think spring security just get parameters named j_username and j_password, so
you should set prependId of <h:form> to false, then spring security can get them and process.