geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/modules/security/src/test/org/apache/geronimo/security/jaas ConfigurationEntryTest.java
Date Sun, 27 Jun 2004 18:11:00 GMT
adc         2004/06/27 11:11:00

  Modified:    modules/security/src/test/org/apache/geronimo/security/jaas
                        ConfigurationEntryTest.java
  Log:
  Removed direct setting of config.  Using GBean to do this.
  
  Revision  Changes    Path
  1.9       +1 -7      incubator-geronimo/modules/security/src/test/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java
  
  Index: ConfigurationEntryTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/test/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- ConfigurationEntryTest.java	27 Jun 2004 18:07:14 -0000	1.8
  +++ ConfigurationEntryTest.java	27 Jun 2004 18:11:00 -0000	1.9
  @@ -19,14 +19,12 @@
   
   import javax.management.ObjectName;
   import javax.security.auth.Subject;
  -import javax.security.auth.login.Configuration;
   import javax.security.auth.login.LoginContext;
   import java.io.File;
   import java.net.URI;
   import java.util.Collections;
   import java.util.Properties;
   
  -import com.sun.security.auth.login.ConfigFile;
   import junit.framework.TestCase;
   
   import org.apache.geronimo.gbean.jmx.GBeanMBean;
  @@ -75,8 +73,6 @@
       }
   
       protected void setUp() throws Exception {
  -        Configuration.setConfiguration(new GeronimoLoginConfiguration());
  -
           kernel = new Kernel("test.kernel", "simple.geronimo.test");
           kernel.boot();
   
  @@ -171,7 +167,5 @@
           kernel.unloadGBean(serverInfo);
   
           kernel.shutdown();
  -
  -        Configuration.setConfiguration(new ConfigFile());
       }
   }
  
  
  

Mime
View raw message