2 Replies Latest reply on Jul 1, 2004 3:19 PM by elevenpast

    logout problem

    elevenpast Newbie

      I'm invalidating my session within a Struts action class. I think I need to also remove principals from the current subject.

      subject.getPrincipals().clear();
      request.getSession().invalidate();

      How do I access the current Subject from within my action class? Am I missing any other steps?