-
1. Re: avoid relogin
gonorrhea May 1, 2009 12:14 AM (in response to trunikov.dmitry.trunikov.zoral.com.ua)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?
-
2. Re: avoid relogin
trunikov.dmitry.trunikov.zoral.com.ua May 2, 2009 7:11 PM (in response to trunikov.dmitry.trunikov.zoral.com.ua)Hi Arbi!
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. -
3. Re: avoid relogin
swd847 May 3, 2009 8:49 AM (in response to trunikov.dmitry.trunikov.zoral.com.ua)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.
-
4. Re: avoid relogin
trunikov.dmitry.trunikov.zoral.com.ua May 3, 2009 8:23 PM (in response to trunikov.dmitry.trunikov.zoral.com.ua)Thank you Stuart!
It works. I didn't know that page events allows tricks with navigation.