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

Gavin King gavin.king at jboss.com
Sat Feb 3 22:21:27 EST 2007


  User: gavin   
  Date: 07/02/03 22:21:27

  Modified:    src/main/org/jboss/seam/security  Identity.java
  Log:
  let em config their WorkingMemory
  
  Revision  Changes    Path
  1.47      +8 -5      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.46
  retrieving revision 1.47
  diff -u -b -r1.46 -r1.47
  --- Identity.java	4 Feb 2007 00:54:43 -0000	1.46
  +++ Identity.java	4 Feb 2007 03:21:27 -0000	1.47
  @@ -100,6 +100,8 @@
      
      protected void initSecurityContext()
      {
  +      if (securityContext==null) //it might have been configured via components.xml
  +      {
         RuleBase securityRules = (RuleBase) Component.getInstance("securityRules", true);
         if (securityRules != null)
         {
  @@ -107,6 +109,7 @@
            setDirty();
         }            
      }
  +   }
   
      public static Identity instance()
      {
  
  
  



More information about the jboss-cvs-commits mailing list