Hello all, Did someone solve the problem described above by hoth256?
I have almost the same configuration: - form-based authentication; - custom LoginModule (let's call it myLM); - JSF-based main page with "Logout" button; - logout() method in page supporting bean which calls HttpSession invalidate() method; - flushOnSessionInvalidation attribute set to "true" for my security-domain in the jboss-web.xml; - JBoss ver. 4.0.2. The problem seems to be the same as described: when I press the "Logout" button for the first time I'm not redirected to the login form; it is performed only after the second button hit. While performing some investigations I've found the next inconsistencies: 1. After fresh start of JBoss I log in via login form and redirected to main form. 2. I press the "logout" button: - two breakpoints are reached consequently: one in bean.logout() then second in myLM.logout(); - active page is not changed to login form but remains the main page. 3. I press the "logout" button again: - active page is changed to login form but no breakpoints are hit. 4. I try to login. After pressing the "login" button breakpoints are hit and after that I am redirected to the main page. >From this state steps 3 and 4 repeat. So the question is: why the main page is not changed to login page after the first "logout" click? And what are those stu?k logout actions?... Thanks in advance for any comments! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933329#3933329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933329 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
