The best way to do this is with a navigation handler decorator. Take a look at:

http://www.jsftutorials.net/jsfNavigation/jsf-login-navigation-redirect.html

[EMAIL PROTECTED] wrote:
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="").
 
 

Reply via email to