I have found so many examples but the problem is all of them are using
JSP/JSF as view. The problem is they always use
j_username as username input id and
j_password as password id. What I found is these names are standard names. Primefaces doesn't allow me to give name to
p:inputtext component. Do you have any solution?
Here is an example : http://krams915.blogspot.com/2012/01/spring-security-31-implement_13.html