User: starksm 
  Date: 01/07/29 11:20:20

  Modified:    src/main/org/jboss/security/plugins
                        JaasSecurityManagerService.java
  Log:
  Merge changes from 2.4
  
  Revision  Changes    Path
  1.5       +5 -2      
jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerService.java
  
  Index: JaasSecurityManagerService.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosssx/src/main/org/jboss/security/plugins/JaasSecurityManagerService.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JaasSecurityManagerService.java   2001/07/29 02:28:52     1.4
  +++ JaasSecurityManagerService.java   2001/07/29 18:20:20     1.5
  @@ -39,6 +39,7 @@
   
   import org.apache.log4j.Category;
   
  +import org.jboss.logging.log4j.JBossCategory;
   import org.jboss.security.SecurityAssociation;
   import org.jboss.security.SecurityProxyFactory;
   import org.jboss.security.SubjectSecurityManager;
  @@ -63,7 +64,7 @@
      implements JaasSecurityManagerServiceMBean
   {
      /** The log4j interface */
  -   private static Category log = 
Category.getInstance(JaasSecurityManagerService.class);
  +   private static JBossCategory log;
      /** The class that provides the security manager implementation */
      private static String securityMgrClassName = 
"org.jboss.security.plugins.JaasSecurityManager";
      /** The loaded securityMgrClassName */
  @@ -82,8 +83,10 @@
      {
         // use thread-local principal and credential propagation
         SecurityAssociation.setServer();
  +      // Get a log interface
  +      log = (JBossCategory) 
JBossCategory.getInstance(JaasSecurityManagerService.class);
      }
  -   
  +
      /** The constructor does nothing as the security manager is created
       on each lookup into java:/jaas/xxx. This is also why all variables
       in this class are static.
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to