User: d_jencks
  Date: 01/09/18 15:00:44

  Modified:    src/main/org/jboss/test/perf/test Setup.java
  Log:
  Changed tests to deploy/undeploy only once per testcase file.  Moved clearAuthCache 
to JBossTestServices
  
  Revision  Changes    Path
  1.6       +1 -13     jbosstest/src/main/org/jboss/test/perf/test/Setup.java
  
  Index: Setup.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/perf/test/Setup.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Setup.java        2001/09/17 17:33:53     1.5
  +++ Setup.java        2001/09/18 22:00:44     1.6
  @@ -34,7 +34,7 @@
   /** Setup utility class.
    
    @author [EMAIL PROTECTED]
  - @version $Revision: 1.5 $
  + @version $Revision: 1.6 $
    */
   public class Setup extends JBossTestSetup 
   {
  @@ -114,18 +114,6 @@
            home.remove(new Entity2PK(n, "String"+n, new Double(n)));
      }
   
  -   private void flushAuthCache() throws Exception
  -   {
  -      String serverName = InetAddress.getLocalHost().getHostName();
  -      String connectorName = "jmx:" +serverName+ ":rmi";
  -      RMIConnector server = (RMIConnector) new 
InitialContext().lookup(connectorName);
  -      ObjectName jaasMgr = new ObjectName("Security:name=JaasSecurityManager");
  -      // Ask the deployer for the getWarDeployerName
  -      Object[] params = {"other"};
  -      String[] signature = {"java.lang.String"};
  -      String warDeployerName = (String) server.invoke(jaasMgr,
  -         "flushAuthenticationCache", params, signature);
  -   }
      private void login() throws Exception
      {
         flushAuthCache();
  
  
  

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

Reply via email to