6 Replies Latest reply on Aug 8, 2006 11:00 AM by soshah

    Logout: Invalidate Session and resetting Principal

    kosmi

      Hello,
      i'm trying to perform a logout,
      I tried to logout via:

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

      in a processAction() method.

      I also tried to invalidate the httpSession in a customValve.
      The <security-domain flushOnSessionInvalidation="true">java:jaas/portal</security-domain>
      attribute is set in jboss-web.xml.

      The forum and the wiki doesn't helped so far..
      Can anybody help?

      Thanks in advance,
      Daniel