You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by we...@apache.org on 2004/06/02 21:36:03 UTC

cvs commit: ws-fx/wss4j/test/wssec TestWSSecurity11.java

werner      2004/06/02 12:36:03

  Modified:    wss4j/test/wssec TestWSSecurity11.java
  Log:
  WSFX-9: Implement explicit timestamp handling, patches from Christof.
  
  Revision  Changes    Path
  1.4       +3 -3      ws-fx/wss4j/test/wssec/TestWSSecurity11.java
  
  Index: TestWSSecurity11.java
  ===================================================================
  RCS file: /home/cvs/ws-fx/wss4j/test/wssec/TestWSSecurity11.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TestWSSecurity11.java	21 Mar 2004 18:00:39 -0000	1.3
  +++ TestWSSecurity11.java	2 Jun 2004 19:36:03 -0000	1.4
  @@ -130,7 +130,7 @@
           WSSignEnvelope builder = new WSSignEnvelope();
           builder.setUserInfo("wss4jcert", "security");
           // builder.setUserInfo("john", "keypass");
  -		SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(unsignedEnvelope);
  +		SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(unsignedEnvelope.getAsDOM());
   		Vector parts = new Vector();
   		
   		/*
  @@ -242,7 +242,7 @@
   		WSSignEnvelope builder = new WSSignEnvelope();
   		builder.setUserInfo("wss4jcert", "security");
   		// builder.setUserInfo("john", "keypass");
  -		SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(unsignedEnvelope);
  +		SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(unsignedEnvelope.getAsDOM());
   		Vector parts = new Vector();
   		
   		/*
  @@ -295,7 +295,7 @@
   		WSSignEnvelope builder = new WSSignEnvelope();
   		builder.setUserInfo("wss4jcert", "security");
   		// builder.setUserInfo("john", "keypass");
  -		SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(unsignedEnvelope);
  +		SOAPConstants soapConstants = WSSecurityUtil.getSOAPConstants(unsignedEnvelope.getAsDOM());
   		Vector parts = new Vector();
   		
   		/*