are you talking about SSO (we use NTLM authentication with IE browser, for example)?
or are you say when user navigates to home.xhtml, auto-redirect to foo.xhtml?
Thank you for reply.
I'm talking about following functionality. My app has a login page at the URL /login.xhtml and landing page at the URL /Home.xhtml. User may provide credentials on the login page and app redirects him on the landing page (in case of successful authentication). I want that in case when logged in user try to open login page again he will be immediately redirected on landing page. In other words I don't want to allow logged in user open login form, only unathetificated users should be able to open login form.
run a dummy page action in the login page. Then use a navigation rule from that page action that redirects if the user is logged in.
Thank you Stuart!
It works. I didn't know that page events allows tricks with navigation.