[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/timeout ...

Ron Sigal ron_sigal at yahoo.com
Thu Feb 22 20:56:28 EST 2007


  User: rsigal  
  Date: 07/02/22 20:56:28

  Added:       src/tests/org/jboss/test/remoting/timeout   Tag:
                        remoting_2_x SSLPerInvocationTimeoutTestRoot.java
  Removed:     src/tests/org/jboss/test/remoting/timeout   Tag:
                        remoting_2_x
                        SSLPerCreationInvocationTimeoutTestRoot.java
  Log:
  JBREM-657, JBREM-701: Renamed SSLPerCreationInvocationTimeoutTestRoot -> SSLPerInvocationTimeoutTestRoot.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +54 -0     JBossRemoting/src/tests/org/jboss/test/remoting/timeout/Attic/SSLPerInvocationTimeoutTestRoot.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SSLPerInvocationTimeoutTestRoot.java
  ===================================================================
  RCS file: SSLPerInvocationTimeoutTestRoot.java
  diff -N SSLPerInvocationTimeoutTestRoot.java
  --- /dev/null	1 Jan 1970 00:00:00 -0000
  +++ SSLPerInvocationTimeoutTestRoot.java	23 Feb 2007 01:56:28 -0000	1.1.2.1
  @@ -0,0 +1,54 @@
  +/*
  +* JBoss, Home of Professional Open Source
  +* Copyright 2005, JBoss Inc., and individual contributors as indicated
  +* by the @authors tag. See the copyright.txt in the distribution for a
  +* full listing of individual contributors.
  +*
  +* This is free software; you can redistribute it and/or modify it
  +* under the terms of the GNU Lesser General Public License as
  +* published by the Free Software Foundation; either version 2.1 of
  +* the License, or (at your option) any later version.
  +*
  +* This software is distributed in the hope that it will be useful,
  +* but WITHOUT ANY WARRANTY; without even the implied warranty of
  +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  +* Lesser General Public License for more details.
  +*
  +* You should have received a copy of the GNU Lesser General Public
  +* License along with this software; if not, write to the Free
  +* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  +* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  +*/
  +package org.jboss.test.remoting.timeout;
  +
  +import java.util.Map;
  +
  +import org.jboss.remoting.security.SSLSocketBuilder;
  +
  +/** 
  + * See javadoc for PerInvocationTimeoutTestRoot.
  + *  
  + * @author <a href="ron.sigal at jboss.com">Ron Sigal</a>
  + * @version $Revision: 1.1.2.1 $
  + * <p>
  + * Copyright Jan 24, 2007
  + * </p>
  + */
  +public abstract class SSLPerInvocationTimeoutTestRoot extends PerInvocationTimeoutTestRoot
  +{
  +   protected void addServerConfig(Map config)
  +   {
  +      config.put(SSLSocketBuilder.REMOTING_KEY_STORE_TYPE, "JKS");
  +      String keyStoreFilePath = this.getClass().getResource("../.keystore").getFile();
  +      config.put(SSLSocketBuilder.REMOTING_KEY_STORE_FILE_PATH, keyStoreFilePath);
  +      config.put(SSLSocketBuilder.REMOTING_KEY_STORE_PASSWORD, "unit-tests-server");
  +   }
  +   
  +   protected void addClientConfig(Map config)
  +   {
  +      config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_TYPE, "JKS");
  +      String trustStoreFilePath = getClass().getResource("../.truststore").getFile();
  +      config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_FILE_PATH, trustStoreFilePath);
  +      config.put(SSLSocketBuilder.REMOTING_TRUST_STORE_PASSWORD, "unit-tests-client");      
  +   }
  +}
  
  
  



More information about the jboss-cvs-commits mailing list