Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 40778 invoked from network); 5 Dec 2008 19:09:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2008 19:09:06 -0000 Received: (qmail 12169 invoked by uid 500); 5 Dec 2008 19:09:18 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 12122 invoked by uid 500); 5 Dec 2008 19:09:18 -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 12113 invoked by uid 99); 5 Dec 2008 19:09:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2008 11:09:18 -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; Fri, 05 Dec 2008 19:07:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C1E7F238897B; Fri, 5 Dec 2008 11:08:39 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r723822 - in /cxf/sandbox/interopfest/wssec10: ./ 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: Fri, 05 Dec 2008 19:08:39 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081205190839.C1E7F238897B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Fri Dec 5 11:08:38 2008 New Revision: 723822 URL: http://svn.apache.org/viewvc?rev=723822&view=rev Log: Add wssec 1.0 stuff Added: cxf/sandbox/interopfest/wssec10/ cxf/sandbox/interopfest/wssec10/build.xml (with props) cxf/sandbox/interopfest/wssec10/pom.xml (with props) cxf/sandbox/interopfest/wssec10/src/ cxf/sandbox/interopfest/wssec10/src/main/ cxf/sandbox/interopfest/wssec10/src/main/java/ cxf/sandbox/interopfest/wssec10/src/main/java/interop/ cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/ cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java (with props) cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java (with props) cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/UTPasswordCallback.java (with props) cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/ cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java (with props) cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java (with props) cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java (with props) cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java (with props) cxf/sandbox/interopfest/wssec10/src/main/resources/ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties (with props) cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties (with props) cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml (with props) cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties (with props) cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml (with props) cxf/sandbox/interopfest/wssec10/src/style/ cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl (with props) Added: cxf/sandbox/interopfest/wssec10/build.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/build.xml?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/build.xml (added) +++ cxf/sandbox/interopfest/wssec10/build.xml Fri Dec 5 11:08:38 2008 @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wssec10/build.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/build.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/build.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wssec10/pom.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/pom.xml?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/pom.xml (added) +++ cxf/sandbox/interopfest/wssec10/pom.xml Fri Dec 5 11:08:38 2008 @@ -0,0 +1,179 @@ + + + 4.0.0 + org.apache.cxf.interopfest + ws-sec10 + 1.0 + + 2.2-SNAPSHOT + MutualCertificate10SignEncryptRsa15TripleDes + + + + + 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/WsSecurity10.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/wssec10/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/pom.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/pom.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java Fri Dec 5 11:08:38 2008 @@ -0,0 +1,89 @@ +/** + * 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.apache.cxf.bus.spring.SpringBusFactory; + +import interopbaseaddress.interop.PingService10; +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[] {"UserNameOverTransport"}; + argv = new String[] {"MutualCertificate10SignEncryptRsa15TripleDes"}; + } + + new SpringBusFactory().createBus("etc/client.xml"); + + + final String portPrefix = argv[0]; + + final PingService10 svc = new PingService10(); + final IPingService port = + svc.getPort( + new QName( + "http://InteropBaseAddress/interop", + portPrefix + "_IPingService" + ), + IPingService.class + ); + + /* + ((BindingProvider)port) + .getRequestContext() + .put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, + "http://localhost:9000/MutualCertificate10SignEncryptRsa15TripleDes"); + */ + + 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/wssec10/src/main/java/interop/client/Client.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/Client.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java Fri Dec 5 11:08:38 2008 @@ -0,0 +1,37 @@ +/** + * 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 { + + public KeystorePasswordCallback() { + } + + /** + * 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]; + pc.setPassword("abcd!1234"); + } + } + + +} Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/KeystorePasswordCallback.java ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/UTPasswordCallback.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/UTPasswordCallback.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/UTPasswordCallback.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/UTPasswordCallback.java Fri Dec 5 11:08:38 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/wssec10/src/main/java/interop/client/UTPasswordCallback.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/client/UTPasswordCallback.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java Fri Dec 5 11:08:38 2008 @@ -0,0 +1,15 @@ +/** + * Copyright (c) 1993-2007 IONA Technologies PLC. + * All Rights Reserved. + */ +package interop.server; + +@javax.jws.WebService( + targetNamespace = "http://InteropBaseAddress/interop", + serviceName = "PingService10", + portName = "MutualCertificate10SignEncryptRsa15TripleDes_IPingService", + endpointInterface = "interopbaseaddress.interop.IPingService" +) +public class MutualCertificate10SignEncryptRsa15TripleDes extends PingServiceBase { + // complete +} Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/MutualCertificate10SignEncryptRsa15TripleDes.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java Fri Dec 5 11:08:38 2008 @@ -0,0 +1,73 @@ +/** + * Copyright (c) 1993-2007 IONA Technologies PLC. + * All Rights Reserved. + */ +package interop.server; + +import javax.annotation.Resource; +import javax.xml.ws.WebServiceContext; + +// import com.iona.cxf.security.credential.InCredentialsMap; +import interopbaseaddress.interop.IPingService; + +public abstract class PingServiceBase implements IPingService { + + @Resource + protected WebServiceContext ctx; + + protected PingServiceBase() { + } + + /* + protected static InCredentialsMap + getInCredentialsMap( + final WebServiceContext ctx + ) { + return (InCredentialsMap) ctx.getMessageContext().get( + InCredentialsMap.class.getName() + ); + } + */ + + public interopbaseaddress.interop.EchoXmlResponse.EchoXmlResult + echoXml( + interopbaseaddress.interop.EchoXml.Request request + ) { + throw new RuntimeException("Unimplemented"); + } + + public java.lang.String + echo( + java.lang.String request + ) { + System.out.println("ping(" + request + ")"); + return request; + } + + public java.lang.String + fault( + java.lang.String request + ) { + throw new RuntimeException("Unimplemented"); + } + + public interopbaseaddress.interop.PingResponse + ping( + interopbaseaddress.interop.PingRequest parameters + ) { + throw new RuntimeException("Unimplemented"); + } + + public String header( + String parameters + ) { + throw new RuntimeException("Unimplemented"); + } + + public interopbaseaddress.interop.EchoDataSetResponse.EchoDataSetResult + echoDataSet( + interopbaseaddress.interop.EchoDataSet.Request request + ) { + throw new RuntimeException("Unimplemented"); + } +} Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/PingServiceBase.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java Fri Dec 5 11:08:38 2008 @@ -0,0 +1,59 @@ +/** + * 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; + +public class Server { + + protected Server() throws Exception { + new SpringBusFactory().createBus("server.xml"); + + // + // Scenario 3.1 + // + Endpoint.publish( + "https://localhost:9001/UserNameOverTransport", + new UserNameOverTransport() + ); + // + // Scenario 3.4 + // + Endpoint.publish( + "http://localhost:9000/MutualCertificate10SignEncryptRsa15TripleDes", + new MutualCertificate10SignEncryptRsa15TripleDes() + ); + } + + 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); + } +} Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/Server.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java (added) +++ cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java Fri Dec 5 11:08:38 2008 @@ -0,0 +1,15 @@ +/** + * Copyright (c) 1993-2007 IONA Technologies PLC. + * All Rights Reserved. + */ +package interop.server; + +@javax.jws.WebService( + targetNamespace = "http://InteropBaseAddress/interop", + serviceName = "PingService10", + portName = "UserNameOverTransportLocal_IPingService", + endpointInterface = "interopbaseaddress.interop.IPingService" +) +public class UserNameOverTransport extends PingServiceBase { + // complete +} Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/java/interop/server/UserNameOverTransport.java ------------------------------------------------------------------------------ svn:keywords = Rev Date Added: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties (added) +++ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties Fri Dec 5 11:08:38 2008 @@ -0,0 +1,4 @@ +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=PKCS12 +org.apache.ws.security.crypto.merlin.keystore.password=password +org.apache.ws.security.crypto.merlin.file=certs/alice.pfx Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/alice.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties (added) +++ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties Fri Dec 5 11:08:38 2008 @@ -0,0 +1,7 @@ +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.password=password + +# for some reason, bouncycastle has issues with bob.pfx +org.apache.ws.security.crypto.merlin.keystore.provider=SunJSSE +org.apache.ws.security.crypto.merlin.keystore.type=PKCS12 +org.apache.ws.security.crypto.merlin.file=certs/bob.pfx Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/bob.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml (added) +++ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml Fri Dec 5 11:08:38 2008 @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/client.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties (added) +++ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties Fri Dec 5 11:08:38 2008 @@ -0,0 +1,78 @@ +# +# 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. + +############################################################ +# Default Logging Configuration File +# +# You can use a different file by specifying a filename +# with the java.util.logging.config.file system property. +# For example java -Djava.util.logging.config.file=myfile +############################################################ + +############################################################ +# Global properties +############################################################ + +# "handlers" specifies a comma separated list of log Handler +# classes. These handlers will be installed during VM startup. +# Note that these classes must be on the system classpath. +# By default we only configure a ConsoleHandler, which will only +# show messages at the WARNING and above levels. +handlers= java.util.logging.ConsoleHandler + +# To also add the FileHandler, use the following line instead. +#handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler + +# Default global logging level. +# This specifies which kinds of events are logged across +# all loggers. For any given facility this global level +# can be overriden by a facility specific level +# Note that the ConsoleHandler also has a separate level +# setting to limit messages printed to the console. +.level= FINEST + +############################################################ +# Handler specific properties. +# Describes specific configuration info for Handlers. +############################################################ + +# default file output is in user's home directory. +java.util.logging.FileHandler.pattern = %h/java%u.log +java.util.logging.FileHandler.limit = 50000 +java.util.logging.FileHandler.count = 1 +java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter + +# Limit the message that are printed on the console to INFO and above. +# java.util.logging.ConsoleHandler.level = INFO +java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter + + +############################################################ +# Facility specific properties. +# Provides extra control for each logger. +############################################################ + +# For example, set the com.xyz.foo logger to only log SEVERE +# messages: +# com.xyz.foo.level = SEVERE +# com.iona.cxf.security.level=INFO +org.apache.cxf.level=FINEST Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/logging.properties ------------------------------------------------------------------------------ svn:mime-type = text/plain Added: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml (added) +++ cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml Fri Dec 5 11:08:38 2008 @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:executable = * Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/main/resources/etc/server.xml ------------------------------------------------------------------------------ svn:mime-type = text/xml Added: cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl URL: http://svn.apache.org/viewvc/cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl?rev=723822&view=auto ============================================================================== --- cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl (added) +++ cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl Fri Dec 5 11:08:38 2008 @@ -0,0 +1,72 @@ + + + + + + + + + WsSecurity10_0.xsd + + + WsSecurity10_1.xsd + + + WsSecurity10_2.xsd + + + WsSecurity10_3.xsd + + + + + + + + + + + + + + WsSecurity10.wsdl + + + WsSecurity10_policy.wsdl + + + + + + + + + + + + https://131.107.72.15/Security_WsSecurity_Service_Indigo/WsSecurity10.svc/UserNameOverTransport + + + + + + + + + + + + + + + + + + + + + + Propchange: cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl ------------------------------------------------------------------------------ svn:eol-style = native Propchange: cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl ------------------------------------------------------------------------------ svn:keywords = Rev Date Propchange: cxf/sandbox/interopfest/wssec10/src/style/makelocal.xsl ------------------------------------------------------------------------------ svn:mime-type = text/xml