[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security ...

Gavin King gavin.king at jboss.com
Wed Feb 7 16:34:49 EST 2007


  User: gavin   
  Date: 07/02/07 16:34:49

  Modified:    src/main/org/jboss/seam/security  Identity.java
  Log:
  null the principal so isLoggedIn() returns false
  
  Revision  Changes    Path
  1.54      +1 -0      jboss-seam/src/main/org/jboss/seam/security/Identity.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Identity.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/Identity.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -b -r1.53 -r1.54
  --- Identity.java	7 Feb 2007 17:12:31 -0000	1.53
  +++ Identity.java	7 Feb 2007 21:34:49 -0000	1.54
  @@ -315,6 +315,7 @@
      
      public void logout()
      {
  +      principal = null;
         Seam.invalidateSession();
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list