User: starksm 
  Date: 01/08/20 15:07:41

  Modified:    src/main/org/jboss/security/plugins Tag: Branch_2_4
                        JaasSecurityManagerService.java
  Log:
  Use JBossCategory for log instance
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.4   +5 -1      
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.2.2.3
  retrieving revision 1.2.2.4
  diff -u -r1.2.2.3 -r1.2.2.4
  --- JaasSecurityManagerService.java   2001/07/29 02:22:28     1.2.2.3
  +++ JaasSecurityManagerService.java   2001/08/20 22:07:41     1.2.2.4
  @@ -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 Category log;
      /** The class that provides the security manager implementation */
      private static String securityMgrClassName = 
"org.jboss.security.plugins.JaasSecurityManager";
      /** The loaded securityMgrClassName */
  @@ -82,6 +83,9 @@
      {
         // 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
  
  
  

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

Reply via email to