User: starksm 
  Date: 01/09/11 11:38:32

  Modified:    src/main/org/jboss/security/plugins
                        JaasSecurityManagerService.java
  Log:
  Convert all logging to org.jboss.logging.Logger which is a subclass of
  org.apache.log4j.Category.
  
  Revision  Changes    Path
  1.7       +5 -6      
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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- JaasSecurityManagerService.java   2001/08/30 02:59:30     1.6
  +++ JaasSecurityManagerService.java   2001/09/11 18:38:32     1.7
  @@ -37,9 +37,7 @@
   import javax.management.MBeanServer;
   import javax.management.ObjectName;
   
  -import org.apache.log4j.Category;
  -
  -import org.jboss.logging.log4j.JBossCategory;
  +import org.jboss.logging.Logger;
   import org.jboss.security.SecurityAssociation;
   import org.jboss.security.SecurityProxyFactory;
   import org.jboss.security.SubjectSecurityManager;
  @@ -63,8 +61,8 @@
      extends ServiceMBeanSupport
      implements JaasSecurityManagerServiceMBean
   {
  -   /** The log4j interface */
  -   private static JBossCategory log;
  +   /** The logging interface */
  +   private static Logger log;
      /** The class that provides the security manager implementation */
      private static String securityMgrClassName = 
"org.jboss.security.plugins.JaasSecurityManager";
      /** The loaded securityMgrClassName */
  @@ -84,7 +82,7 @@
         // use thread-local principal and credential propagation
         SecurityAssociation.setServer();
         // Get a log interface
  -      log = (JBossCategory) 
JBossCategory.getInstance(JaasSecurityManagerService.class);
  +      log = Logger.create(JaasSecurityManagerService.class);
      }
   
      /** The constructor does nothing as the security manager is created
  @@ -212,6 +210,7 @@
      
      public static class SecurityDomainObjectFactory implements InvocationHandler, 
ObjectFactory
      {
  +      static Logger log = Logger.create(SecurityDomainObjectFactory.class);
         /** Object factory implementation. This method returns a Context proxy
          that is only able to handle a lookup operation for an atomic name of
          a security domain.
  
  
  

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

Reply via email to