You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2009/03/15 03:08:14 UTC
svn commit: r754587 - in
/cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main:
java/interop/client/Client.java resources/etc/client.xml
Author: dkulp
Date: Sun Mar 15 02:08:13 2009
New Revision: 754587
URL: http://svn.apache.org/viewvc?rev=754587&view=rev
Log:
Update rust13 descriptions
Modified:
cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java
cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/resources/etc/client.xml
Modified: cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java?rev=754587&r1=754586&r2=754587&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java (original)
+++ cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/java/interop/client/Client.java Sun Mar 15 02:08:13 2009
@@ -55,16 +55,18 @@
"CustomBinding_IPingServiceContract2",
// "CustomBinding_IPingServiceContract3", //NOT WORKING - [1]
"CustomBinding_IPingServiceContract4",
-// "CustomBinding_IPingServiceContract6", //NOT WORKING
-// "CustomBinding_IPingServiceContract5", //NOT WORKING -[2]
+// "CustomBinding_IPingServiceContract6", //NOT WORKING - [1]
+// "CustomBinding_IPingServiceContract5", //NOT WORKING - [2]
// "CustomBinding_IPingServiceContract7", //NOT WORKING - service not running on given port
// "CustomBinding_IPingServiceContract8", //Hanging?
-// "CustomBinding_IPingServiceContract9", //NOT WORKING
+// "CustomBinding_IPingServiceContract9", //NOT WORKING - [3]
"CustomBinding_IPingServiceContract10",
};
}
//argv = new String[] {argv[3]};
-
+ //argv = new String[] {"CustomBinding_IPingServiceContract8"};
+
+
new SpringBusFactory().createBus("etc/client.xml");
List<String> results = new ArrayList<String>(argv.length);
@@ -107,7 +109,11 @@
<trust:KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/PublicKey</trust:KeyType>
but the "sample" produced from their online tool sends SymetricKey
-[2] OasisScenario9/10 (CustomBinding_IPingServiceContract4/5) isn't working yet due to WSS4J
+[2] OasisScenario9/10 (CustomBinding_IPingServiceContract5) isn't working yet due to WSS4J
not supporting using RSAKeyValue (KeyInfo, WS-SecurityPolicy/KeyValueToken) things for
- creating signatures
+ creating signatures in version 1.5.5 which was the current version when writing this
+ sample. 1.5.6 does support RSAKeyValue, but this sample hasn't been updated yet.
+
+[3] The trust token is being retrieved sucessfully. It's not able to negotiate the https
+ connection with the final endpoint. Not sure which exact keys to use yet.
*/
Modified: cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/resources/etc/client.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/resources/etc/client.xml?rev=754587&r1=754586&r2=754587&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/resources/etc/client.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/ws_security/interopfest/wstrust13/src/main/resources/etc/client.xml Sun Mar 15 02:08:13 2009
@@ -356,7 +356,6 @@
</http:tlsClientParameters>
</http:conduit>
- <!--
<http:conduit name="https://131.107.153.205/.*">
<http:tlsClientParameters disableCNCheck="true">
<sec:keyManagers keyPassword="password">
@@ -374,12 +373,12 @@
<sec:keyStore type="pkcs12" password="password" resource="certs/alice.pfx"/>
</sec:keyManagers>
<sec:trustManagers>
- <sec:keyStore type="pkcs12" password="password" resource="certs/WssIP.pfx"/>
+ <sec:keyStore type="pkcs12" password="password" resource="certs/alice.pfx"/>
</sec:trustManagers>
</http:tlsClientParameters>
<http:client Connection="close" AllowChunking="false"/>
</http:conduit>
-
+ <!--
<http:conduit name="{http://tempuri.org/}CustomBinding_IPingServiceContract.http-conduit">
<http:tlsClientParameters disableCNCheck="true">
<sec:keyManagers keyPassword="password">
@@ -391,9 +390,8 @@
</http:tlsClientParameters>
<http:client Connection="close" AllowChunking="false"/>
</http:conduit>
- -->
- <http:conduit name="*.http-conduit">
+ <http:conduit name="https://131.107.153.205/.*">
<http:tlsClientParameters disableCNCheck="true">
<sec:keyManagers keyPassword="password">
<sec:keyStore type="pkcs12" password="password" resource="certs/alice.pfx"/>
@@ -405,5 +403,6 @@
<http:client Connection="close" AllowChunking="false" ConnectionTimeout="0"
ReceiveTimeout="0"/>
</http:conduit>
+ -->
</beans>