Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 49138 invoked from network); 9 Dec 2008 18:07:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Dec 2008 18:07:35 -0000 Received: (qmail 20617 invoked by uid 500); 9 Dec 2008 18:07:47 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 20569 invoked by uid 500); 9 Dec 2008 18:07:47 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 20560 invoked by uid 99); 9 Dec 2008 18:07:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 10:07:47 -0800 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Dec 2008 18:06:14 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E5194238885D; Tue, 9 Dec 2008 10:07:02 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r724801 - in /cxf/sandbox/interopfest/wstrust10: ./ src/ src/main/ src/main/java/ src/main/java/interop/ src/main/java/interop/client/ src/main/java/interop/server/ src/main/resources/ src/main/resources/etc/ src/style/ Date: Tue, 09 Dec 2008 18:07:02 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081209180702.E5194238885D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Tue Dec 9 10:07:01 2008 New Revision: 724801 URL: http://svn.apache.org/viewvc?rev=724801&view=rev Log: Start adding wstrust10 stuff Added: cxf/sandbox/interopfest/wstrust10/ cxf/sandbox/interopfest/wstrust10/build.xml (with props) cxf/sandbox/interopfest/wstrust10/pom.xml (with props) cxf/sandbox/interopfest/wstrust10/src/ cxf/sandbox/interopfest/wstrust10/src/main/ cxf/sandbox/interopfest/wstrust10/src/main/java/ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java (with props) cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java (with props) cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java (with props) cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java (with props) cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java (with props) cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java (with props) cxf/sandbox/interopfest/wstrust10/src/main/resources/ cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/ cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties (with props) cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties (with props) cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml (with props) cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml (with props) cxf/sandbox/interopfest/wstrust10/src/style/ cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl (with props) Added: cxf/sandbox/interopfest/wstrust10/build.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/build.xml?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/build.xml (added) +++ cxf/sandbox/interopfest/wstrust10/build.xml Tue Dec 9 10:07:01 2008 @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wstrust10/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/build.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/build.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wstrust10/pom.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/pom.xml?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/pom.xml (added) +++ cxf/sandbox/interopfest/wstrust10/pom.xml Tue Dec 9 10:07:01 2008 @@ -0,0 +1,182 @@ + + + 4.0.0 + org.apache.cxf.interopfest + ws-trust10 + 1.0 + + 2.2-SNAPSHOT + A + + + + + src/main/java + + **/*.java + + + + src/main/resources + + **/* + + + + target/generated/src/main/resources + + ** + + + + + + + + maven-antrun-plugin + 1.3 + + + download-certs-wsdl + generate-sources + + run + + + + + + + + + + + + + + org.apache.ant + ant-trax + 1.7.1 + + + + + maven-compiler-plugin + + 1.5 + 1.5 + + + + org.apache.cxf + cxf-codegen-plugin + ${cxf.version} + + + generate-sources + generate-sources + + + + ${basedir}/target/wsdl2/WsTrustSym.wsdl + + + ${basedir}/target/wsdl2/WsTrustAsym.wsdl + + + + + wsdl2java + + + + + + + + + server + + test + + + org.codehaus.mojo + exec-maven-plugin + + + test + + java + + + demo.hw.server.Server + + + + + + + + + client + + test + + + org.codehaus.mojo + exec-maven-plugin + + + test + + java + + + test + interop.client.Client + + ${test.method} + + + + + + + + + + + + + + + + + org.apache.cxf + cxf-rt-frontend-jaxws + ${cxf.version} + + + org.apache.cxf + cxf-rt-transports-http + ${cxf.version} + + + + org.apache.cxf + cxf-rt-transports-http-jetty + ${cxf.version} + + + + org.apache.cxf + cxf-rt-ws-security + ${cxf.version} + + + org.apache.cxf + cxf-rt-ws-policy + ${cxf.version} + + + Propchange: cxf/sandbox/interopfest/wstrust10/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/pom.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java Tue Dec 9 10:07:01 2008 @@ -0,0 +1,109 @@ +/** + * Copyright (c) 1993-2007 IONA Technologies PLC. + * All Rights Reserved. + */ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package interop.client; + +import javax.xml.namespace.QName; +import javax.xml.ws.BindingProvider; + +import org.tempuri.SymmetricFederatedService; + +import org.apache.cxf.Bus; +import org.apache.cxf.bus.spring.SpringBusFactory; +import org.apache.cxf.ws.security.tokenstore.SecurityToken; + +import interopbaseaddress.interop.IPingService; + +public final class Client { + + private static final String INPUT = "foo"; + + /** + * This class is not instantiated + */ + private Client() { + } + + /** + + /** + * The main entrypoint into the application + */ + public static void main(String argv[]) + throws Exception { + if (argv.length < 1) { + System.err.println( + "SYNTAX: java Client " + ); + //argv = new String[] {"A"}; + } + + Bus b = new SpringBusFactory().createBus("etc/client.xml"); + + + final String portPrefix = argv[0]; + + final SymmetricFederatedService svc = new SymmetricFederatedService(); + final IPingService port = + svc.getPort( + new QName( + "http://InteropBaseAddress/interop", + portPrefix + "_IPingService" + ), + IPingService.class + ); + + //STSClient stsClient = new STSClient(b); + /* + Policy stsPolicy = loadPolicy(args[2]); + Policy servicePolicy = loadPolicy(args[4]); + + + //stsClient.setAddressingNs("http://www.w3.org/2005/08/addressing"); + + stsClient.setAddressingNs(org.apache.axis2.addressing.AddressingConstants.Final.WSA_NAMESPACE); + stsClient.setRstTemplate(getRSTTemplate()); + stsClient.setAction(RahasConstants.WST_NS_05_02 + RahasConstants.RST_ACTION_ISSUE); + stsClient.setSoapVersion(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); + */ + //SecurityToken responseToken = stsClient.requestSecurityToken();//servicePolicy, args[3], stsPolicy, null); + + + /* + ((BindingProvider)port) + .getRequestContext() + .put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, + "http://localhost:9001/" + portPrefix + "PingService"); + */ + + final String output = port.echo(INPUT); + if (!INPUT.equals(output)) { + System.err.println( + "Expected " + INPUT + " but got " + output + ); + } else { + System.out.println("OK!"); + } + } + +} Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/Client.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java Tue Dec 9 10:07:01 2008 @@ -0,0 +1,54 @@ +/** + * Copyright (c) 1993-2006 IONA Technologies PLC. + * All Rights Reserved. + */ +package interop.client; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import javax.security.auth.callback.Callback; +import javax.security.auth.callback.CallbackHandler; +import javax.security.auth.callback.UnsupportedCallbackException; + +import org.apache.ws.security.WSPasswordCallback; + +/** + */ + +public class KeystorePasswordCallback implements CallbackHandler { + + private Map passwords = + new HashMap(); + + public KeystorePasswordCallback() { + passwords.put("Alice", "abcd!1234"); + passwords.put("alice", "abcd!1234"); + passwords.put("Bob", "abcd!1234"); + passwords.put("bob", "abcd!1234"); + } + + /** + * It attempts to get the password from the private + * alias/passwords map. + */ + public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { + for (int i = 0; i < callbacks.length; i++) { + WSPasswordCallback pc = (WSPasswordCallback)callbacks[i]; + + String pass = passwords.get(pc.getIdentifer()); + if (pass != null) { + pc.setPassword(pass); + return; + } + } + } + + /** + * Add an alias/password pair to the callback mechanism. + */ + public void setAliasPassword(String alias, String password) { + passwords.put(alias, password); + } +} Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java Tue Dec 9 10:07:01 2008 @@ -0,0 +1,58 @@ +/** + * Copyright (c) 1993-2007 IONA Technologies PLC. + * All Rights Reserved. + */ + +package interop.client; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import javax.security.auth.callback.Callback; +import javax.security.auth.callback.CallbackHandler; +import javax.security.auth.callback.UnsupportedCallbackException; + +import org.apache.ws.security.WSPasswordCallback; + +/** + */ + +public class UTPasswordCallback implements CallbackHandler { + + private Map passwords = + new HashMap(); + + public UTPasswordCallback() { + passwords.put("Alice", "ecilA"); + passwords.put("Frank", "invalid-password"); + } + + /** + * Here, we attempt to get the password from the private + * alias/passwords map. + */ + public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { + for (int i = 0; i < callbacks.length; i++) { + WSPasswordCallback pc = (WSPasswordCallback)callbacks[i]; + + String pass = passwords.get(pc.getIdentifer()); + if (pass != null) { + pc.setPassword(pass); + return; + } + } + + // + // Password not found + // + throw new IOException(); + } + + /** + * Add an alias/password pair to the callback mechanism. + */ + public void setAliasPassword(String alias, String password) { + passwords.put(alias, password); + } +} Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/client/UTPasswordCallback.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java Tue Dec 9 10:07:01 2008 @@ -0,0 +1,54 @@ +/** + * Copyright (c) 1993-2006 IONA Technologies PLC. + * All Rights Reserved. + */ +package interop.server; + +import java.io.IOException; +import java.util.HashMap; +import java.util.Map; + +import javax.security.auth.callback.Callback; +import javax.security.auth.callback.CallbackHandler; +import javax.security.auth.callback.UnsupportedCallbackException; + +import org.apache.ws.security.WSPasswordCallback; + +/** + */ + +public class KeystorePasswordCallback implements CallbackHandler { + + private Map passwords = + new HashMap(); + + public KeystorePasswordCallback() { + passwords.put("Alice", "abcd!1234"); + passwords.put("alice", "abcd!1234"); + passwords.put("Bob", "abcd!1234"); + passwords.put("bob", "abcd!1234"); + } + + /** + * It attempts to get the password from the private + * alias/passwords map. + */ + public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException { + for (int i = 0; i < callbacks.length; i++) { + WSPasswordCallback pc = (WSPasswordCallback)callbacks[i]; + + String pass = passwords.get(pc.getIdentifer()); + if (pass != null) { + pc.setPassword(pass); + return; + } + } + } + + /** + * Add an alias/password pair to the callback mechanism. + */ + public void setAliasPassword(String alias, String password) { + passwords.put(alias, password); + } +} Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java Tue Dec 9 10:07:01 2008 @@ -0,0 +1,55 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package interop.server; + +import javax.xml.ws.Holder; + +import interopbaseaddress.interop.IPingService; + +/** + * + */ +public class PingService implements IPingService { + + /** {@inheritDoc}*/ + public String echo(String request) { + System.out.println("echo: " + request); + return request; + } + + + /** {@inheritDoc}*/ + public String fault(String request) { + return request; + } + + /** {@inheritDoc}*/ + public String header(String request) { + return request; + } + + + public void ping(Holder scenario, Holder origin, Holder text) { + // TODO Auto-generated method stub + + } + + +} Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/PingService.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java Tue Dec 9 10:07:01 2008 @@ -0,0 +1,115 @@ +/** + * Copyright (c) 1993-2007 IONA Technologies PLC. + * All Rights Reserved. + */ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package interop.server; + +import javax.xml.ws.Endpoint; + +import org.apache.cxf.bus.spring.SpringBusFactory; +import org.apache.cxf.ws.security.SecurityConstants; + +public class Server { + + + protected Server() throws Exception { + new SpringBusFactory().createBus("etc/server.xml"); + + // Scenario 4.1 + /* + addProperties(Endpoint.publish("http://localhost:9001/APingService", + new APingService())); + addProperties(Endpoint.publish("http://localhost:9001/A-NoTimestampPingService", + new ANoTimestampPingService())); + addProperties(Endpoint.publish("http://localhost:9001/ADPingService", + new ADPingService())); + */ + + // Scenario 4.2 + addProperties(Endpoint.publish("http://localhost:9001/UXPingService", + new UXPingService())); + + //argv = new String[] {"A-ES"}; //NOT WORKING YET + //argv = new String[] {"AD-ES"}; //NOT WORKING YET + //argv = new String[] {"UX"}; //NOT WORKING YET + /* + argv = new String[] {"UX-NoTimestamp"}; //NOT WORKING YET + argv = new String[] {"UXD"}; + argv = new String[] {"UXD_IPingService1"}; + argv = new String[] {"UX-SEES"}; + argv = new String[] {"UXD-SEES"}; + argv = new String[] {"X"}; + argv = new String[] {"X_IPingService1"}; + argv = new String[] {"X-NoTimestamp"}; + argv = new String[] {"X-AES128"}; + argv = new String[] {"X-AES192"}; + argv = new String[] {"X-TripleDES"}; + argv = new String[] {"XD"}; + argv = new String[] {"XD_IPingService1"}; + argv = new String[] {"XD-ES"}; + argv = new String[] {"XD-SEES"}; + */ + } + private final void addProperties(Endpoint ep) { + ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback()); + ep.getProperties().put(SecurityConstants.ENCRYPT_USERNAME, "Bob"); + ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES, "etc/bob.properties"); + } + + public static void main(String args[]) throws Exception { + new Server(); + System.out.println("Server ready..."); + + Thread.sleep(60 * 60 * 1000); + System.out.println("Server exiting"); + System.exit(0); + } + + @javax.jws.WebService(targetNamespace = "http://InteropBaseAddress/interop", + serviceName = "PingService11", + portName = "A_IPingService", + endpointInterface = "interopbaseaddress.interop.IPingService", + wsdlLocation = "wsdl/WsSecurity11.wsdl") + public static class APingService extends PingService { + } + @javax.jws.WebService(targetNamespace = "http://InteropBaseAddress/interop", + serviceName = "PingService11", + portName = "A-NoTimestamp_IPingService", + endpointInterface = "interopbaseaddress.interop.IPingService", + wsdlLocation = "wsdl/WsSecurity11.wsdl") + public static class ANoTimestampPingService extends PingService { + } + @javax.jws.WebService(targetNamespace = "http://InteropBaseAddress/interop", + serviceName = "PingService11", + portName = "AD_IPingService", + endpointInterface = "interopbaseaddress.interop.IPingService", + wsdlLocation = "wsdl/WsSecurity11.wsdl") + public static class ADPingService extends PingService { + } + @javax.jws.WebService(targetNamespace = "http://InteropBaseAddress/interop", + serviceName = "PingService11", + portName = "UX_IPingService", + endpointInterface = "interopbaseaddress.interop.IPingService", + wsdlLocation = "wsdl/WsSecurity11.wsdl") + public static class UXPingService extends PingService { + } +} Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wstrust10/src/main/java/interop/server/Server.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties Tue Dec 9 10:07:01 2008 @@ -0,0 +1,5 @@ +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=password +org.apache.ws.security.crypto.merlin.keystore.alias=Alice +org.apache.ws.security.crypto.merlin.file=keys/alice.jks Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/alice.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties Tue Dec 9 10:07:01 2008 @@ -0,0 +1,5 @@ +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=password +org.apache.ws.security.crypto.merlin.keystore.alias=Bob +org.apache.ws.security.crypto.merlin.file=keys/bob.jks Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/bob.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml Tue Dec 9 10:07:01 2008 @@ -0,0 +1,171 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml (added) +++ cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml Tue Dec 9 10:07:01 2008 @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl?rev=724801&view=auto ============================================================================== --- cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl (added) +++ cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl Tue Dec 9 10:07:01 2008 @@ -0,0 +1,65 @@ + + + + + + + + + + WsTrustSym.wsdl + + + WsTrustSym_policy.wsdl + + + WsTrustAsym.wsdl + + + WsTrustAsym_policy.wsdl + + + WsTrustSym_policy.wsdl + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wstrust10/src/style/makelocal.xsl ------------------------------------------------------------------------------ svn:mime-type = text/xml