cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r746378 - in /cxf/sandbox/interopfest/wssc/src/main/java/interop: client/Client.java client/KeystorePasswordCallback.java server/Server.java
Date Fri, 20 Feb 2009 21:46:41 GMT
Author: dkulp
Date: Fri Feb 20 21:46:41 2009
New Revision: 746378

URL: http://svn.apache.org/viewvc?rev=746378&view=rev
Log:
Inch toward server side support

Modified:
    cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java
    cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
    cxf/sandbox/interopfest/wssc/src/main/java/interop/server/Server.java

Modified: cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java?rev=746378&r1=746377&r2=746378&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java (original)
+++ cxf/sandbox/interopfest/wssc/src/main/java/interop/client/Client.java Fri Feb 20 21:46:41
2009
@@ -92,7 +92,7 @@
                 //"_KD-SEES_IPingService",     //Kerberos token - not sure where the token
comes from or how this works
             };
         }
-        argv = new String[] {argv[1]};
+        //argv = new String[] {argv[1]};
         //argv = new String[] {"UXC_IPingService"};
         
         new SpringBusFactory().createBus("etc/client.xml");
@@ -102,7 +102,7 @@
         for (String portPrefix : argv) {
             try {
                 PingService svc;
-                wsdlLocation = new URL("http://localhost:9001/" + portPrefix + "?wsdl");
+                //wsdlLocation = new URL("http://localhost:9001/" + portPrefix + "?wsdl");
                 if (wsdlLocation == null) {
                     svc = new PingService();
                 } else {

Modified: cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java?rev=746378&r1=746377&r2=746378&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
(original)
+++ cxf/sandbox/interopfest/wssc/src/main/java/interop/client/KeystorePasswordCallback.java
Fri Feb 20 21:46:41 2009
@@ -41,6 +41,8 @@
             if (pass != null) {
                 pc.setPassword(pass);
                 return;
+            } else {
+                pc.setPassword("password");
             }
         }
     } 

Modified: cxf/sandbox/interopfest/wssc/src/main/java/interop/server/Server.java
URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssc/src/main/java/interop/server/Server.java?rev=746378&r1=746377&r2=746378&view=diff
==============================================================================
--- cxf/sandbox/interopfest/wssc/src/main/java/interop/server/Server.java (original)
+++ cxf/sandbox/interopfest/wssc/src/main/java/interop/server/Server.java Fri Feb 20 21:46:41
2009
@@ -76,8 +76,8 @@
 
     private final void doPublish(String url, Object obj) {
         Endpoint ep = Endpoint.create(obj);
-        ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
-        ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES, "etc/bob.properties");
+        ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER + ".sct", new KeystorePasswordCallback());
+        ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES + ".sct", "etc/bob.properties");
         ep.publish(url);
     }
     



Mime
View raw message