I'm trying to integrate my application to use single signon (SSO). Originally, our app's landing page is the login screen. I want to modify the flow so that it first checks to see if the user is already logged in via SSO. If the user is already logged in, it will bypass the app's login in screen and redirect the user to the appropriate subsequent screen. My question is how can I call some logic within the jsf framework before a page is rendered? Right now I have a jsp that checks whether the user is logged in or not and redirects to appropriate page.
Seam provides such functionality out of the box. If you don't want to use it, then you can implement the necessary redirection logic in phase listener.