This content has been marked as final.
Show 5 replies
-
1. Re: How can i disable skipping over the authentication?
nickarls Jan 30, 2008 3:19 AM (in response to behmen)I think it should be possible to write a page action that does a conditional logout if you enter the page while still logged in.
-
2. Re: How can i disable skipping over the authentication?
behmen Jan 30, 2008 3:33 AM (in response to behmen)i have tryed this already, calling a page action on the authentication page but i get only a message that the session has closed and i am not able to login
-
3. Re: How can i disable skipping over the authentication?
nickarls Jan 30, 2008 5:55 AM (in response to behmen)Is it possible to do some redirection back to the login page after you have forced the logout?
If nothing else fails you can always do the "switch identity" function with a common identity.logout and the next secured request will do the automatic redirection to the login page. -
4. Re: How can i disable skipping over the authentication?
pmuir Feb 3, 2008 5:14 PM (in response to behmen)File a feature request in JIRA, at least for docs on how to do this, it comes up often.
-
5. Re: How can i disable skipping over the authentication?
shane.bryzak Feb 3, 2008 7:03 PM (in response to behmen)"behmen" wrote:
i have tryed this already, calling a page action on the authentication page but i get only a message that the session has closed and i am not able to login
You can't simply call Identity.logout() in the page action for your login page, you need to write a new action that only calls Identity.logout() if you're already logged in.