cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r826765 - in /cxf/branches/2.2.x-fixes: ./ rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java
Date Mon, 19 Oct 2009 19:06:47 GMT
Author: dkulp
Date: Mon Oct 19 19:06:47 2009
New Revision: 826765

URL: http://svn.apache.org/viewvc?rev=826765&view=rev
Log:
Merged revisions 826762 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r826762 | dkulp | 2009-10-19 15:02:36 -0400 (Mon, 19 Oct 2009) | 1 line
  
  Set action for cancel/validate as well
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java?rev=826765&r1=826764&r2=826765&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/ws/security/src/main/java/org/apache/cxf/ws/security/trust/STSClient.java
Mon Oct 19 19:06:47 2009
@@ -494,6 +494,10 @@
         client.getRequestContext().put(SecurityConstants.TOKEN, tok);
         BindingOperationInfo boi = findOperation("/RST/Validate");
         
+        client.getRequestContext().put(SoapBindingConstants.SOAP_ACTION, 
+                                       namespace + "/RST/Validate");
+
+        
         W3CDOMStreamWriter writer = new W3CDOMStreamWriter();
         writer.writeStartElement("wst", "RequestSecurityToken", namespace);
         writer.writeStartElement("wst", "RequestType", namespace);
@@ -561,6 +565,10 @@
         client.getRequestContext().put(PolicyConstants.POLICY_OVERRIDE, cancelPolicy);
         client.getRequestContext().put(SecurityConstants.TOKEN, token);
         BindingOperationInfo boi = findOperation("/RST/Cancel");
+        
+        client.getRequestContext().put(SoapBindingConstants.SOAP_ACTION, 
+                                       namespace + "/RST/Cancel");
+
 
         W3CDOMStreamWriter writer = new W3CDOMStreamWriter();
         writer.writeStartElement("wst", "RequestSecurityToken", namespace);



Mime
View raw message