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

Shane Bryzak Shane_Bryzak at symantec.com
Mon Feb 12 03:05:35 EST 2007


  User: sbryzak2
  Date: 07/02/12 03:05:35

  Modified:    src/main/org/jboss/seam/security 
                        HibernateSecurityInterceptor.java
  Log:
  JBSEAM-732 entity security
  
  Revision  Changes    Path
  1.3       +3 -3      jboss-seam/src/main/org/jboss/seam/security/HibernateSecurityInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: HibernateSecurityInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/HibernateSecurityInterceptor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- HibernateSecurityInterceptor.java	12 Feb 2007 06:16:08 -0000	1.2
  +++ HibernateSecurityInterceptor.java	12 Feb 2007 08:05:35 -0000	1.3
  @@ -23,7 +23,7 @@
                         String[] propertyNames, Type[] types)
      {
         Identity.instance().checkEntityPermission(entity, READ);
  -      return true;
  +      return false;
      }
      
      @Override
  @@ -38,7 +38,7 @@
                      Object[] previousState, String[] propertyNames, Type[] types)
      {
         Identity.instance().checkEntityPermission(entity, UPDATE);
  -      return true;
  +      return false;
      }
      
      @Override
  @@ -46,6 +46,6 @@
                         String[] propertyNames, Type[] types)
      {
         Identity.instance().checkEntityPermission(entity, INSERT);      
  -      return true;
  +      return false;
      }       
   }
  
  
  



More information about the jboss-cvs-commits mailing list