myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Schofield <>
Subject Re: initial navigation
Date Tue, 17 May 2005 19:34:22 GMT
If its authentication you are worried about, then I would agree a
Filter (or using J2EE container managed security) would be the easiest
way.   Shale (a Struts subproject) has some cool new stuff related to

If you look at the usecases example there is custom navigation that
can depend on the result of a method binding.  Craig is using a custom
NavigationHandler to deal with some of that.  Pretty cool stuff IMO.


On 5/17/05, Piepaolo Follia <> wrote:
>  What about a simple filter? I think is the simplest way to do this. 
>  It's not a JSF feature, it's a common "pattern" in web applications.
>  bye
>  in data 16/05/2005 22.45 ha scritto: 
> Is there a way in jsf to navigate (redirect or forward) when 
> a .jsf is opened, depending on data in the session? Basically, 
> I want to do authorization/authentication inside the application, 
> keep the auth data in the session object, and redirect to the signon 
> page if there is no auth data in the session object 
> (no action="xxx"). 
>  -- 
> Pierpaolo Follia
> Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS)
> Telefono: +39 030 687561
> Fax: +39 030 6875690

View raw message