4 Replies Latest reply on Sep 19, 2006 8:52 AM by Adam

    how to logout? - problem with setWantSignOut

    Adam Newbie

      Hi

      I have portal, users ate logged in by jboss mechanisms. I want to log out user this way:

      JBossActionResponse actionResponse = (JBossActionResponse) response;
       actionResponse.signOut();
      
       //actionResponse.setWantSignOut(true);
       request.getPortletSession().invalidate();
      

      I found that with setWantSignout(true) it will be ok. Without this it's not ok. My question is: how to invoke this method in action method?