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

Shane Bryzak sbryzak at redhat.com
Mon Apr 9 21:43:49 EDT 2007


  User: sbryzak2
  Date: 07/04/09 21:43:49

  Modified:    src/main/org/jboss/seam/security  Identity.java
  Log:
  fix security hole
  
  Revision  Changes    Path
  1.76      +2 -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.75
  retrieving revision 1.76
  diff -u -b -r1.75 -r1.76
  --- Identity.java	4 Apr 2007 13:57:14 -0000	1.75
  +++ Identity.java	10 Apr 2007 01:43:49 -0000	1.76
  @@ -296,6 +296,8 @@
       */
      protected void unAuthenticate()
      {      
  +      principal = null;
  +      
         for ( Group sg : subject.getPrincipals(Group.class) )      
         {
            if ( ROLES_GROUP.equals( sg.getName() ) )
  
  
  



More information about the jboss-cvs-commits mailing list