anonymous wrote : "pete.muir(a)jboss.org" wrote : "asookazian" wrote :
hmm. when the user selects another manager in the h:selectOneMenu, it's like
they're started another session (similar to logging in as another user).
| |
| | So, then invalidate the session.
| |
|
| I built and deployed the spring example from 2.0.0.GA. The following code in
LoginAction:
|
| public void logout() {
| | loggedIn = false;
| | Seam.invalidateSession();
| | }
|
| is called from template.xhtml:
|
| <s:link id="logout" action="#{login.logout}"
value="Logout"/>
|
| when I register, login and then click logout link, I am redirected to:
|
|
http://localhost:8080/jboss-seam-spring/home.seam
|
| Not sure exactly how this works but irrespective, my use case is different. We are
using NTLM via JCIFS library to extract username from IE browser for authentication (i.e.
there is no physical login for user).
|
| In this case, user selects another peer manager from drop-down and sees a modalPanel
with continue and cancel buttons. If they click continue, this is where I need to
invalidate the session(s) and load the @Factory dataModel for the appropriate manager.
|
| So basically, the spring logout is not what I need, I need to invalidate the
session(s) and reload the form/dataTable immediately...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115604#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...