How to implement j_security_check with Primefaces? Normally in JSP if you want to use JAAS for login, the log
There is working (with Primefaces 5) code (removed name attributes from p:inputText and p:password, removed suggested by BalusC part):