dev@glassfish.java.net

glassfish v3.1 jsf form authentication, remember me

From: java4dev <java4dev_at_gmail.com>
Date: Tue, 10 May 2011 17:59:29 +0300

Hello,

I authenticate users with the form authentication but I have a small issue.

In the login page I wanted two things, first thing is to be able to
register if the user has no account, which I solved with a link

<a
href="https://localhost:8181/JSFtest/faces/access/register.xhtml">Register</a>

and the second is to have a checkbox for "Remember me".
But since this is no regular page and it does not speak to any bean
there is no way to handle this,
OR is there????

as an alternative in NetBeans there is an example JsfJpa which
authenticates users using phaselisteners. In phaselisteners scenario you
can have any form you like but the question is how much overhead is to
setup an extra listener

brg
Nikolas