users@glassfish.java.net

Re: [webtier] jsf login page

From: Theodor Richard <theodor.richard_at_googlemail.com>
Date: Wed, 30 Jun 2010 09:32:35 +0200

Hello Richard,

thanks for the link. Does that mean I have to check for every page whether
the current user is authenticated and redirect to the login page if it's not
the case?

Regards,
Theo


On Tue, Jun 29, 2010 at 10:54 AM, <glassfish_at_javadesktop.org> wrote:

> Hi Theodor
>
> I have found the best way is write a JSF login page the way you want to.
> Then add a Action on the login page to redirect to your main page or throw
> a SecurityException.
>
>
> http://it-result.me/servlet-3-programmatic-authentication-api/
>
> regards
> Richard
> [Message sent by forum member 'rjdkolb']
>
> http://forums.java.net/jive/thread.jspa?messageID=476260
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>