dims        02/02/13 09:01:59

  Modified:    java/test build_functional_tests.xml
  Log:
  if "security.present" run transparent signature generation/verification steps.
  
  Revision  Changes    Path
  1.33      +34 -22    xml-axis/java/test/build_functional_tests.xml
  
  Index: build_functional_tests.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/build_functional_tests.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- build_functional_tests.xml        23 Jan 2002 14:00:28 -0000      1.32
  +++ build_functional_tests.xml        13 Feb 2002 17:01:59 -0000      1.33
  @@ -66,9 +66,9 @@
     </target>
   
     <!-- =================================================================== -->
  -  <!-- Runs the JUnit functional test -->
  +  <!-- Prepares the JUnit functional test -->
     <!-- =================================================================== -->
  -  <target name="junit-functional" if="junit.present">
  +  <target name="junit-functional-prepare" if="junit.present">
     <mkdir dir="${basedir}/${test.functional.reportdir}" />
   
       <!-- first, put the JWS where the functional test can see it -->
  @@ -78,21 +78,12 @@
   
       <!--...not to mention the sample user list -->
       <copy file="samples/stock/users.lst" todir="build"/>
  +  </target>
   
  -    <!-- Uncomment following section to enable transparent Signing
  -         of SOAP Messages sent from the client -->
  -    <!--
  -    <java classname="org.apache.axis.client.AdminClient" fork="yes">
  -      <classpath refid="test-classpath" />
  -      <arg line="samples/security/serversecuritydeploy.wsdd"/>
  -    </java>
  -    <java classname="org.apache.axis.utils.Admin" fork="yes">
  -      <classpath refid="test-classpath" />
  -      <arg value="client"/>
  -      <arg value="samples/security/clientsecuritydeploy.wsdd"/>
  -    </java>
  -    -->
  -
  +  <!-- =================================================================== -->
  +  <!-- Runs the JUnit functional test -->
  +  <!-- =================================================================== -->
  +  <target name="junit-functional" if="junit.present" 
depends="junit-functional-prepare,start-signature-signing-and-verification">
       <java classname="org.apache.axis.client.AdminClient" fork="yes">
         <classpath refid="test-classpath" />
         <arg line="${deploy.xml.property}"/>
  @@ -116,10 +107,33 @@
         <classpath refid="test-classpath" />
         <arg line="${undeploy.xml.property}"/>
       </java>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Start Signature Signing and Verification -->
  +  <!-- =================================================================== -->
  +  <target name="start-signature-signing-and-verification" if="security.present">
  +    <!-- Enable transparent Signing of SOAP Messages sent
  +        from the client and Server-side Signature Verification.
  +    -->
  +    <java classname="org.apache.axis.client.AdminClient" fork="yes">
  +      <classpath refid="test-classpath" />
  +      <arg line="samples/security/serversecuritydeploy.wsdd"/>
  +    </java>
  +    <java classname="org.apache.axis.utils.Admin" fork="yes">
  +      <classpath refid="test-classpath" />
  +      <arg value="client"/>
  +      <arg value="samples/security/clientsecuritydeploy.wsdd"/>
  +    </java>
  +  </target>
   
  -    <!-- Uncomment following section to enable transparent Signing
  -         of SOAP Messages sent from the client -->
  -    <!--
  +  <!-- =================================================================== -->
  +  <!-- Stop Signature Signing and Verification -->
  +  <!-- =================================================================== -->
  +  <target name="stop-signature-signing-and-verification" if="security.present">
  +    <!-- Disable transparent Signing of SOAP Messages sent
  +        from the client and Server-side Signature Verification.
  +    -->
       <java classname="org.apache.axis.client.AdminClient" fork="yes">
         <classpath refid="test-classpath" />
         <arg line="samples/security/serversecurityundeploy.wsdd"/>
  @@ -129,14 +143,12 @@
         <arg value="client"/>
         <arg value="samples/security/clientsecurityundeploy.wsdd"/>
       </java>
  -    -->
  -
     </target>
   
     <!-- =================================================================== -->
     <!-- Stops the functional test HTTP server -->
     <!-- =================================================================== -->
  -  <target name="stop-functional-test-http-server" if="junit.present">
  +  <target name="stop-functional-test-http-server" if="junit.present" 
depends="stop-signature-signing-and-verification">
       <echo message="Stopping test http server."/>
       <java classname="org.apache.axis.client.AdminClient" fork="yes">
         <classpath refid="test-classpath" />
  
  
  


Reply via email to