I found examples of programmatic login into jsf based application, like this from Balusc. Maybe it is silly question but, when I use form based authentication, I can use only a simple html form with
<input id="username" type="text" name="j_username" />
<input id="password" type="password" name="j_password"/>
in <form method="post" action="j_security_check"> form.
I cannot use jsf form from example, why?