works
public void onInit(@Observes SecurityConfigurationEvent event) { SecurityConfigurationBuilder builder = event.getBuilder(); builder.http().forPath("/secure/*").authenticateWith().form() .loginPage("/login.jsf").errorPage("/error.jsf"); }
but
but my login form is in login.fam
My web.xml
<servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.fam</url-pattern> </servlet-mapping>
|