JBossWS SVN: r4908 - stack/native/branches/jbossws-native-2.0.2/src/test/resources.
by jbossws-commits@lists.jboss.org
Author: thomas.diesler(a)jboss.com
Date: 2007-10-29 05:46:36 -0400 (Mon, 29 Oct 2007)
New Revision: 4908
Modified:
stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt
Log:
Update AS50 excludes
Modified: stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt
===================================================================
--- stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt 2007-10-29 09:40:43 UTC (rev 4907)
+++ stack/native/branches/jbossws-native-2.0.2/src/test/resources/test-excludes-jboss500.txt 2007-10-29 09:46:36 UTC (rev 4908)
@@ -9,84 +9,5 @@
org/jboss/test/ws/jaxws/samples/context/**
org/jboss/test/ws/jaxws/samples/wssecurity/**
-# [JBAS-4913] wsdl-override not found as a child of service-ref
-org/jboss/test/ws/benchmark/jaxrpc/**
-org/jboss/test/ws/jaxrpc/anonymous/**
-org/jboss/test/ws/jaxrpc/encoded/**
-org/jboss/test/ws/jaxrpc/enventry/**
-org/jboss/test/ws/jaxrpc/jbws1010/**
-org/jboss/test/ws/jaxrpc/jbws1011/**
-org/jboss/test/ws/jaxrpc/jbws1093/**
-org/jboss/test/ws/jaxrpc/jbws1107/**
-org/jboss/test/ws/jaxrpc/jbws1121/**
-org/jboss/test/ws/jaxrpc/jbws1124/**
-org/jboss/test/ws/jaxrpc/jbws1125/**
-org/jboss/test/ws/jaxrpc/jbws1148/**
-org/jboss/test/ws/jaxrpc/jbws1179/**
-org/jboss/test/ws/jaxrpc/jbws1190/**
-org/jboss/test/ws/jaxrpc/jbws1205/**
-org/jboss/test/ws/jaxrpc/jbws124/**
-org/jboss/test/ws/jaxrpc/jbws1303/**
-org/jboss/test/ws/jaxrpc/jbws153/**
-org/jboss/test/ws/jaxrpc/jbws1619/**
-org/jboss/test/ws/jaxrpc/jbws163/**
-org/jboss/test/ws/jaxrpc/jbws1653/**
-org/jboss/test/ws/jaxrpc/jbws168/**
-org/jboss/test/ws/jaxrpc/jbws1792/**
-org/jboss/test/ws/jaxrpc/jbws217/**
-org/jboss/test/ws/jaxrpc/jbws231/**
-org/jboss/test/ws/jaxrpc/jbws251/**
-org/jboss/test/ws/jaxrpc/jbws316/**
-org/jboss/test/ws/jaxrpc/jbws331/**
-org/jboss/test/ws/jaxrpc/jbws349/**
-org/jboss/test/ws/jaxrpc/jbws358/**
-org/jboss/test/ws/jaxrpc/jbws377/**
-org/jboss/test/ws/jaxrpc/jbws381/**
-org/jboss/test/ws/jaxrpc/jbws383/**
-org/jboss/test/ws/jaxrpc/jbws413/**
-org/jboss/test/ws/jaxrpc/jbws414/**
-org/jboss/test/ws/jaxrpc/jbws423/**
-org/jboss/test/ws/jaxrpc/jbws424/**
-org/jboss/test/ws/jaxrpc/jbws425/**
-org/jboss/test/ws/jaxrpc/jbws434/**
-org/jboss/test/ws/jaxrpc/jbws456/**
-org/jboss/test/ws/jaxrpc/jbws463/**
-org/jboss/test/ws/jaxrpc/jbws464/**
-org/jboss/test/ws/jaxrpc/jbws484/**
-org/jboss/test/ws/jaxrpc/jbws626/**
-org/jboss/test/ws/jaxrpc/jbws632/**
-org/jboss/test/ws/jaxrpc/jbws643/**
-org/jboss/test/ws/jaxrpc/jbws663/**
-org/jboss/test/ws/jaxrpc/jbws663b/**
-org/jboss/test/ws/jaxrpc/jbws663bb/**
-org/jboss/test/ws/jaxrpc/jbws663w/**
-org/jboss/test/ws/jaxrpc/jbws663wb/**
-org/jboss/test/ws/jaxrpc/jbws68/**
-org/jboss/test/ws/jaxrpc/jbws70/**
-org/jboss/test/ws/jaxrpc/jbws706/**
-org/jboss/test/ws/jaxrpc/jbws707/**
-org/jboss/test/ws/jaxrpc/jbws71/**
-org/jboss/test/ws/jaxrpc/jbws710/**
-org/jboss/test/ws/jaxrpc/jbws720/**
-org/jboss/test/ws/jaxrpc/jbws732/**
-org/jboss/test/ws/jaxrpc/jbws751/**
-org/jboss/test/ws/jaxrpc/jbws772/**
-org/jboss/test/ws/jaxrpc/jbws775/**
-org/jboss/test/ws/jaxrpc/jbws79/**
-org/jboss/test/ws/jaxrpc/jbws807/**
-org/jboss/test/ws/jaxrpc/jbws812/**
-org/jboss/test/ws/jaxrpc/jbws82/**
-org/jboss/test/ws/jaxrpc/jbws83/**
-org/jboss/test/ws/jaxrpc/jbws84/**
-org/jboss/test/ws/jaxrpc/marshall/**
-org/jboss/test/ws/jaxrpc/overloaded/**
-org/jboss/test/ws/jaxrpc/utf16/**
-org/jboss/test/ws/jaxrpc/wsdlpublish/**
-org/jboss/test/ws/jaxrpc/wsse/**
-org/jboss/test/ws/jaxrpc/xop/**
-org/jboss/test/ws/jaxws/webserviceref/**
-org/jboss/test/ws/jaxws/wsaddressing/replyto/**
-org/jboss/test/ws/jaxws/wseventing/**
-
# [JBAS-4903] EJB 2.1 view cannot be realized
org/jboss/test/ws/jaxws/jbws944/**
17 years, 2 months
JBossWS SVN: r4907 - in stack/native/branches/asoldano/trunk: src/test/java/org/jboss/test/ws/interop/nov2007/wsse and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-29 05:40:43 -0400 (Mon, 29 Oct 2007)
New Revision: 4907
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestCase.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestService.java
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/jboss-wsse-client.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/scenarios.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-web.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-wsse-server.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml
Modified:
stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
WCF interoperability tests, wsse scenario 3.3
(rsa-oaep algorithm not used yet)
Modified: stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-29 09:39:25 UTC (rev 4906)
+++ stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-29 09:40:43 UTC (rev 4907)
@@ -791,7 +791,38 @@
<metainf dir="${tests.output.dir}/resources/interop/wsse/sign/META-INF"/>
</jar>
+ <!-- WCF Interoperability Plug-fest November 2007 -->
+ <!-- jbossws-interop-nov2007-wsseEncrypt.war -->
+ <war warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseEncrypt.war"
+ webxml="${tests.output.dir}/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/interop/nov2007/wsse/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/*.class"/>
+ </classes>
+
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/encrypt/WEB-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/shared/WEB-INF">
+ <include name="wsdl/**.*"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/shared/META-INF">
+ <include name="bob-sign_enc.jks"/>
+ <include name="wsse10.truststore"/>
+ </webinf>
+
+ <fileset dir="${tests.output.dir}/resources/interop/nov2007/wsse/">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+ <!-- jbossws-interop-nov2007-wsseEncrypt.jar -->
+ <jar destfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseEncrypt-client.jar">
+ <metainf dir="${tests.output.dir}/resources/interop/nov2007/wsse/encrypt/META-INF"/>
+ </jar>
+
+
<!-- jbossws-interop-nov2007-wsseSign.war -->
<war warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseSign.war"
webxml="${tests.output.dir}/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml">
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestCase.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestCase.java 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
+import org.jboss.ws.core.StubExt;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * WCF Interoperability Plug-fest - November 2007
+ *
+ * Scenario 3.3: X509 Mutual Authentication, Sign Then Encrypt
+ *
+ * Client and Server are authenticated and messages integrity and confidentiality are provided by using
+ * Asymmetric Binding from Security Policy with server X509 certificate used as Recipient Token and
+ * client X509 certificate used as Initiator Token. SignedParts and EncryptedParts assertions are
+ * present in the corresponding policy, indicating that the Body of the message must be signed and
+ * encrypted. Protection Order property of the binding is set to SignBeforeEncrypt.
+ *
+ * SOAP Version: 1.1
+ * Addressing: No
+ * Client Certificate: Alice
+ * Server Certificate: Bob
+ * Timestamp: Yes
+ * Protection Order: Sign then Encrypt
+ * Signed parts: Timestamp, Body
+ * Encrypted parts: Body
+ * Key Wrap: RSA-OAEP
+ * Encryption: AES256
+ * Canonicalization: XML-EXC-C14N
+ * Signature: SHA1
+ *
+ *
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id$
+ * @since 29-Oct-2007
+ */
+public class EncryptTestCase extends AbstractWSSEBase
+{
+
+ public static Test suite()
+ {
+ addClientConfToClasspath("jbossws-interop-nov2007-wsseEncrypt-client.jar");
+ return new JBossWSTestSetup(EncryptTestCase.class, "jbossws-interop-nov2007-wsseEncrypt.war");
+ }
+
+ public void testScenario() throws Exception
+ {
+ String text = "Hello!";
+ String result = port.ping(text);
+ assertNotNull(result);
+ assertEquals(text, result);
+ }
+
+ @Override
+ protected void scenarioSetup(IPingService port)
+ {
+ ((StubExt)port).setConfigName("Standard WSSecurity Client");
+
+ System.setProperty("org.jboss.ws.wsse.keyStore", "resources/interop/nov2007/wsse/shared/META-INF/alice-sign_enc.jks");
+ System.setProperty("org.jboss.ws.wsse.trustStore", "resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore");
+ System.setProperty("org.jboss.ws.wsse.keyStorePassword", "password");
+ System.setProperty("org.jboss.ws.wsse.trustStorePassword", "password");
+ System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");
+ System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks");
+ }
+
+ @Override
+ protected QName getScenarioPortQName()
+ {
+ return new QName("http://tempuri.org/", "MutualCertificate10SignEncrypt_IPingService_port");
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestService.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestService.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestService.java 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.jws.WebService;
+
+import org.jboss.ws.annotation.EndpointConfig;
+
+
+/**
+ * WCF Interoperability Plug-fest - November 2007
+ *
+ * IPingService test implementation
+ *
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id$
+ * @since 29-Oct-2007
+ */
+@WebService(
+ wsdlLocation = "WEB-INF/wsdl/WSSecurty10.wsdl",
+ serviceName = "PingService10",
+ name = "IPingService",
+ targetNamespace = "http://tempuri.org/",
+ endpointInterface = "org.jboss.test.ws.interop.nov2007.wsse.IPingService",
+ portName = "MutualCertificate10SignEncrypt_IPingService_port")
+@EndpointConfig(configName = "Standard WSSecurity Endpoint")
+public class EncryptTestService implements IPingService
+{
+
+ public String ping(String ping)
+ {
+ System.out.println("ping: "+ping);
+ return ping;
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/EncryptTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/jboss-wsse-client.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/jboss-wsse-client.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/jboss-wsse-client.xml 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <timestamp ttl="300"/>
+ <sign type="x509v3" alias="1" includeTimestamp="true"/>
+ <encrypt type="x509v3" alias="bob" algorithm="aes-256"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/scenarios.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/scenarios.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/scenarios.xml 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,8 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local endpoint">
+ <target-endpoint>http://localhost:8080/nov2007/wsseEncrypt/endpoint</target-endpoint>
+ </scenario>
+ <scenario name="default-munich" description="Testing Munich endpoint">
+ <target-endpoint>http://jbossws.demo.jboss.com:8080/nov2007/wsseEncrypt/endpoint</target-endpoint>
+ </scenario>
+</client-scenarios>
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-web.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-web.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-web.xml 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/nov2007/wsseEncrypt</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-wsse-server.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-wsse-server.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-wsse-server.xml 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,21 @@
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config
+ http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/bob-sign_enc.jks</key-store-file>
+ <key-store-password>password</key-store-password>
+ <key-store-type>jks</key-store-type>
+ <trust-store-file>WEB-INF/wsse10.truststore</trust-store-file>
+ <trust-store-password>password</trust-store-password>
+
+ <config>
+ <timestamp ttl="300"/>
+ <sign type="x509v3" alias="1" includeTimestamp="true"/>
+ <encrypt type="x509v3" alias="alice" algorithm="aes-256"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+
+</jboss-ws-security>
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml 2007-10-29 09:40:43 UTC (rev 4907)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsseEncryptService App</display-name>
+
+ <servlet>
+ <servlet-name>EncryptEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.nov2007.wsse.EncryptTestService</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>EncryptEndpoint</servlet-name>
+ <url-pattern>/endpoint</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/encrypt/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
17 years, 2 months
JBossWS SVN: r4906 - stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-29 05:39:25 -0400 (Mon, 29 Oct 2007)
New Revision: 4906
Modified:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
Log:
Doc
Modified: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java 2007-10-27 17:32:13 UTC (rev 4905)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java 2007-10-29 09:39:25 UTC (rev 4906)
@@ -31,7 +31,7 @@
/**
* WCF Interoperability Plug-fest - November 2007
*
- * Scenario 3.2:
+ * Scenario 3.2: X509 Mutual Authentication, Sign Only
*
* Client and Server are authenticated and messages integrity are provided by using Asymmetric Binding
* from Security Policy with server X509 certificate used as Recepient Token and client X509 certificate
@@ -50,7 +50,7 @@
*
* @author Alessio Soldano <alessio.soldano(a)jboss.com>
*
- * @version $Id:$
+ * @version $Id$
* @since 27-Oct-2007
*/
public class SignTestCase extends AbstractWSSEBase
Modified: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java 2007-10-27 17:32:13 UTC (rev 4905)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java 2007-10-29 09:39:25 UTC (rev 4906)
@@ -32,7 +32,7 @@
/**
* WCF Interoperability Plug-fest - November 2007
*
- * Scenario 3.1:
+ * Scenario 3.1: Username token Auth with HTTPS protection
* Client authenticates by passing UsernameToken in Request. Request and Response are protected by HTTPS.
* SOAP Version: 1.1
* Addressing: No
17 years, 2 months
JBossWS SVN: r4905 - in stack/native/branches/asoldano/trunk: src/test/java/org/jboss/test/ws/interop/nov2007/wsse and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-27 13:32:13 -0400 (Sat, 27 Oct 2007)
New Revision: 4905
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestService.java
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/jboss-wsse-client.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/scenarios.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-web.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-wsse-server.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml
Modified:
stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
WCF interoperability tests, wsse scenario 3.2
Modified: stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-27 17:07:58 UTC (rev 4904)
+++ stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-27 17:32:13 UTC (rev 4905)
@@ -792,6 +792,36 @@
</jar>
+ <!-- jbossws-interop-nov2007-wsseSign.war -->
+ <war warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseSign.war"
+ webxml="${tests.output.dir}/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/interop/nov2007/wsse/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/*.class"/>
+ </classes>
+
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/sign/WEB-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/shared/WEB-INF">
+ <include name="wsdl/**.*"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/shared/META-INF">
+ <include name="bob-sign.jks"/>
+ <include name="wsse10.truststore"/>
+ </webinf>
+
+ <fileset dir="${tests.output.dir}/resources/interop/nov2007/wsse/">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+ <!-- jbossws-interop-nov2007-wsseSign.jar -->
+ <jar destfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseSign-client.jar">
+ <metainf dir="${tests.output.dir}/resources/interop/nov2007/wsse/sign/META-INF"/>
+ </jar>
+
+
<!-- jbossws-interop-nov2007-wsseUsernameTokenHTTPS.war -->
<war warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseUsernameTokenHTTPS.war"
webxml="${tests.output.dir}/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml">
@@ -816,6 +846,7 @@
<jar destfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseUsernameTokenHTTPS-client.jar">
<metainf dir="${tests.output.dir}/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF"/>
</jar>
+
<!-- wrap up in an *.ear for easier deployment -->
<ear destfile="${tests.output.dir}/libs/jbossws-interop.ear" appxml="${tests.output.dir}/resources/interop/root/META-INF/application.xml">
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
+import org.jboss.ws.core.StubExt;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * WCF Interoperability Plug-fest - November 2007
+ *
+ * Scenario 3.2:
+ *
+ * Client and Server are authenticated and messages integrity are provided by using Asymmetric Binding
+ * from Security Policy with server X509 certificate used as Recepient Token and client X509 certificate
+ * used as Initiator Token. Only SignedParts assertion is present in the corresponding policy,
+ * indicating that the Body of the message must be signed.
+ *
+ * SOAP Version: 1.1
+ * Addressing: No
+ * Client Certificate: Alice
+ * Server Certificate: Bob
+ * Timestamp: Yes
+ * Signed Parts: Body and Timestamp.
+ * Canonicalization: XML-EXC-C14N
+ * Signature: SHA1
+ *
+ *
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id:$
+ * @since 27-Oct-2007
+ */
+public class SignTestCase extends AbstractWSSEBase
+{
+
+ public static Test suite()
+ {
+ addClientConfToClasspath("jbossws-interop-nov2007-wsseSign-client.jar");
+ return new JBossWSTestSetup(SignTestCase.class, "jbossws-interop-nov2007-wsseSign.war");
+ }
+
+ public void testScenario() throws Exception
+ {
+ String text = "Hello!";
+ String result = port.ping(text);
+ assertNotNull(result);
+ assertEquals(text, result);
+ }
+
+ @Override
+ protected void scenarioSetup(IPingService port)
+ {
+ ((StubExt)port).setConfigName("Standard WSSecurity Client");
+
+ System.setProperty("org.jboss.ws.wsse.keyStore", "resources/interop/nov2007/wsse/shared/META-INF/alice-sign.jks");
+ System.setProperty("org.jboss.ws.wsse.trustStore", "resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore");
+ System.setProperty("org.jboss.ws.wsse.keyStorePassword", "password");
+ System.setProperty("org.jboss.ws.wsse.trustStorePassword", "password");
+ System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks");
+ System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks");
+ }
+
+ @Override
+ protected QName getScenarioPortQName()
+ {
+ return new QName("http://tempuri.org/", "MutualCertificate10Sign_IPingService_port");
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestService.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestService.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestService.java 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.jws.WebService;
+
+import org.jboss.ws.annotation.EndpointConfig;
+
+
+/**
+ * WCF Interoperability Plug-fest - November 2007
+ *
+ * IPingService test implementation
+ *
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id:$
+ * @since 26-Oct-2007
+ */
+@WebService(
+ wsdlLocation = "WEB-INF/wsdl/WSSecurty10.wsdl",
+ serviceName = "PingService10",
+ name = "IPingService",
+ targetNamespace = "http://tempuri.org/",
+ endpointInterface = "org.jboss.test.ws.interop.nov2007.wsse.IPingService",
+ portName = "MutualCertificate10Sign_IPingService_port")
+@EndpointConfig(configName = "Standard WSSecurity Endpoint")
+public class SignTestService implements IPingService
+{
+
+ public String ping(String ping)
+ {
+ System.out.println("ping: "+ping);
+ return ping;
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/SignTestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/jboss-wsse-client.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/jboss-wsse-client.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/jboss-wsse-client.xml 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <timestamp ttl="300"/>
+ <sign type="x509v3" alias="1" includeTimestamp="true"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/scenarios.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/scenarios.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/scenarios.xml 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,8 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local endpoint">
+ <target-endpoint>http://localhost:8080/nov2007/wsseSign/endpoint</target-endpoint>
+ </scenario>
+ <scenario name="default-munich" description="Testing Munich endpoint">
+ <target-endpoint>http://jbossws.demo.jboss.com:8080/nov2007/wsseSign/endpoint</target-endpoint>
+ </scenario>
+</client-scenarios>
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-web.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-web.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-web.xml 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/nov2007/wsseSign</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-wsse-server.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-wsse-server.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-wsse-server.xml 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,19 @@
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config
+ http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <key-store-file>WEB-INF/bob-sign.jks</key-store-file>
+ <key-store-password>password</key-store-password>
+ <key-store-type>jks</key-store-type>
+ <trust-store-file>WEB-INF/wsse10.truststore</trust-store-file>
+ <trust-store-password>password</trust-store-password>
+
+ <config>
+ <timestamp ttl="300"/>
+ <sign type="x509v3" alias="1" includeTimestamp="true"/>
+ <requires>
+ <signature/>
+ </requires>
+ </config>
+
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml 2007-10-27 17:32:13 UTC (rev 4905)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsseSignService App</display-name>
+
+ <servlet>
+ <servlet-name>SignEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.nov2007.wsse.SignTestService</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>SignEndpoint</servlet-name>
+ <url-pattern>/endpoint</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/sign/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
17 years, 2 months
JBossWS SVN: r4904 - stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-27 13:07:58 -0400 (Sat, 27 Oct 2007)
New Revision: 4904
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice-sign.jks
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice-sign_enc.jks
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob-sign.jks
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob-sign_enc.jks
Removed:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.jks
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.jks
Modified:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt
Log:
Always use jks keystores
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice-sign.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice-sign.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice-sign_enc.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice-sign_enc.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.jks
===================================================================
(Binary files differ)
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob-sign.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob-sign.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob-sign_enc.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob-sign_enc.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Deleted: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.jks
===================================================================
(Binary files differ)
Modified: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt 2007-10-27 16:31:49 UTC (rev 4903)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt 2007-10-27 17:07:58 UTC (rev 4904)
@@ -1,6 +1,22 @@
-Certificates and keystores contents
------------------------------------
+ ------------------------------------
+ Certificates & keystores
+ -------------------------------------
+
+ Alice - Client Bob - Server
+
+Signature
+-> Keystore alice-sign.jks bob-sign.jks
+-> Truststore wsse10.truststore wsse10.truststore
+
+
+Signature+Encrypt
+-> Keystore alice-sign_enc.jks bob-sign_enc.jks
+-> Truststore wsse10.truststore wsse10.truststore
+
+
+
+
> keytool -printcert -file Alice.cer
Proprietario: CN=Alice, OU=OASIS Interop Test Cert, O=OASIS
@@ -66,12 +82,26 @@
--------------------------------------------------------------------------------------
-> keytool -list -keystore alice.jks
+> keytool -list -keystore alice-sign.jks
Immettere la password del keystore: password
Tipo keystore: jks
Provider keystore: SUN
+Il keystore contiene 1 entry
+
+1, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5):
+57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore alice-sign_enc.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
Il keystore contiene 2 entry
1, 27-ott-2007, keyEntry,
@@ -83,12 +113,26 @@
--------------------------------------------------------------------------------------
-> keytool -list -keystore bob.jks
+> keytool -list -keystore bob-sign.jks
Immettere la password del keystore: password
Tipo keystore: jks
Provider keystore: SUN
+Il keystore contiene 1 entry
+
+1, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5):
+89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore bob-sign_enc.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
Il keystore contiene 2 entry
alice, 27-ott-2007, trustedCertEntry,
17 years, 2 months
JBossWS SVN: r4903 - stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-27 12:31:49 -0400 (Sat, 27 Oct 2007)
New Revision: 4903
Modified:
stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java
Log:
Fix bug with <sign includeTimestamp="1">
Modified: stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java 2007-10-27 13:14:05 UTC (rev 4902)
+++ stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java 2007-10-27 16:31:49 UTC (rev 4903)
@@ -226,7 +226,7 @@
Boolean include = new Boolean(true);
String timestamp = attrs.getValue("", "includeTimestamp");
if (timestamp != null)
- include = (Boolean)SimpleTypeBindings.unmarshal(timestamp, SimpleTypeBindings.XS_BOOLEAN_NAME, null);
+ include = (Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, timestamp, null);
return new Sign(attrs.getValue("", "type"), attrs.getValue("", "alias"), include.booleanValue());
}
17 years, 2 months
JBossWS SVN: r4902 - in stack/native/branches/asoldano/trunk/src/test: resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-27 09:14:05 -0400 (Sat, 27 Oct 2007)
New Revision: 4902
Modified:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml
Log:
Typo
Modified: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java 2007-10-27 12:26:52 UTC (rev 4901)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java 2007-10-27 13:14:05 UTC (rev 4902)
@@ -32,7 +32,7 @@
/**
* WCF Interoperability Plug-fest - November 2007
*
- * Scenario 1.1:
+ * Scenario 3.1:
* Client authenticates by passing UsernameToken in Request. Request and Response are protected by HTTPS.
* SOAP Version: 1.1
* Addressing: No
@@ -46,7 +46,7 @@
*
* @author Alessio Soldano <alessio.soldano(a)jboss.com>
*
- * @version $Id:$
+ * @version $Id$
* @since 26-Oct-2007
*/
public class UsernameTokenHTTPSTestCase extends AbstractWSSEBase
Modified: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml 2007-10-27 12:26:52 UTC (rev 4901)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml 2007-10-27 13:14:05 UTC (rev 4902)
@@ -3,6 +3,6 @@
<target-endpoint>https://localhost:8443/nov2007/wsseUsernameTokenHTTPS/endpoint</target-endpoint>
</scenario>
<scenario name="default-munich" description="Testing Munich endpoint">
- <target-endpoint>https://jbossws.demo.jboss.com:8443/wsse10Sign/endpoint</target-endpoint>
+ <target-endpoint>https://jbossws.demo.jboss.com:8443/nov2007/wsseUsernameTokenHTTPS/endpoint</target-endpoint>
</scenario>
</client-scenarios>
17 years, 2 months
JBossWS SVN: r4901 - stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-27 08:26:52 -0400 (Sat, 27 Oct 2007)
New Revision: 4901
Added:
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/Alice.cer
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/Bob.cer
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/WssIP.cer
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/WssIP.pfx
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.jks
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.pfx
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.jks
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.pfx
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/ca.cer
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/ca.pfx
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/root.cer
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/root.pfx
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore
Log:
Adding keystores and certificates
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/Alice.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/Alice.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/Bob.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/Bob.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/WssIP.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/WssIP.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/WssIP.pfx
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/WssIP.pfx
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.pfx
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/alice.pfx
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.jks
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.jks
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.pfx
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/bob.pfx
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/ca.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/ca.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/ca.pfx
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/ca.pfx
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt 2007-10-27 12:26:52 UTC (rev 4901)
@@ -0,0 +1,100 @@
+Certificates and keystores contents
+-----------------------------------
+
+> keytool -printcert -file Alice.cer
+
+Proprietario: CN=Alice, OU=OASIS Interop Test Cert, O=OASIS
+Organismo di emissione: CN=OASIS Interop Test CA, O=OASIS
+Numero di serie: 33a6047fb155631fed6721178150a899
+Valido da Sat Mar 19 01:00:00 CET 2005 a Tue Mar 20 00:59:59 CET 2018
+Impronte digitali certificato:
+ MD5: 57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+ SHA1: 6E:0E:88:F3:6E:BB:87:44:D4:70:F6:2F:60:4D:03:EA:4E:BE:50:94
+
+
+--------------------------------------------------------------------------------------
+> keytool -printcert -file Bob.cer
+Proprietario: CN=Bob, OU=OASIS Interop Test Cert, O=OASIS
+Organismo di emissione: CN=OASIS Interop Test CA, O=OASIS
+Numero di serie: 6038eedbfeac9bbec89d87d3abae71f8
+Valido da Sat Mar 19 01:00:00 CET 2005 a Tue Mar 20 00:59:59 CET 2018
+Impronte digitali certificato:
+ MD5: 89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+ SHA1: 35:03:34:20:1B:EE:A6:50:2D:11:34:2F:93:EE:A0:9F:C0:B5:DF:01
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore alice.pfx -storetype pkcs12
+Immettere la password del keystore: password
+
+Tipo keystore: pkcs12
+Provider keystore: SunJSSE
+
+Il keystore contiene 1 entry
+
+2, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5): 57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore bob.pfx -storetype pkcs12
+Immettere la password del keystore: password
+
+Tipo keystore: pkcs12
+Provider keystore: SunJSSE
+
+Il keystore contiene 1 entry
+
+2, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5): 89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore wsse10.truststore
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 2 entry
+
+alice, 9-mar-2006, trustedCertEntry,
+Impronta digitale certificato (MD5):
+57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+bob, 9-mar-2006, trustedCertEntry,
+Impronta digitale certificato (MD5):
+89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore alice.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 2 entry
+
+1, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5):
+57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+bob, 27-ott-2007, trustedCertEntry,
+Impronta digitale certificato (MD5):
+89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+
+
+--------------------------------------------------------------------------------------
+> keytool -list -keystore bob.jks
+Immettere la password del keystore: password
+
+Tipo keystore: jks
+Provider keystore: SUN
+
+Il keystore contiene 2 entry
+
+alice, 27-ott-2007, trustedCertEntry,
+Impronta digitale certificato (MD5):
+57:CE:81:F1:03:C4:2C:F7:5B:1A:DE:AC:43:64:0A:84
+1, 27-ott-2007, keyEntry,
+Impronta digitale certificato (MD5):
+89:3E:86:D2:4F:9C:E7:39:B6:71:8A:EF:00:C5:89:DC
+
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/readme.txt
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/root.cer
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/root.cer
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/root.pfx
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/root.pfx
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore
===================================================================
(Binary files differ)
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/wsse10.truststore
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 2 months
JBossWS SVN: r4900 - in stack/native/branches/asoldano/trunk: src/test/java/org/jboss/test/ws/interop and 11 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-26 12:50:37 -0400 (Fri, 26 Oct 2007)
New Revision: 4900
Added:
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/AbstractWSSEBase.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/IPingService.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/ObjectFactory.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/PingService10.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/TestService.java
stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/META-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurity_schema.xsd
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty_portType.wsdl
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/jboss-wsse-client.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-web.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-wsse-server.xml
stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml
Modified:
stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
Log:
WCF interoperability tests, scenario 3.1
Modified: stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-26 16:47:53 UTC (rev 4899)
+++ stack/native/branches/asoldano/trunk/ant-import-tests/build-jars-jaxws.xml 2007-10-26 16:50:37 UTC (rev 4900)
@@ -790,7 +790,33 @@
<jar destfile="${tests.output.dir}/libs/jbossws-interop-wsse10Sign-client.jar">
<metainf dir="${tests.output.dir}/resources/interop/wsse/sign/META-INF"/>
</jar>
+
+
+ <!-- jbossws-interop-nov2007-wsseUsernameTokenHTTPS.war -->
+ <war warfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseUsernameTokenHTTPS.war"
+ webxml="${tests.output.dir}/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/classes">
+ <include name="org/jboss/test/ws/interop/nov2007/wsse/**/*.class"/>
+ <include name="org/jboss/test/ws/interop/*.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF">
+ <include name="jboss-wsse-server.xml"/>
+ <include name="jboss-web.xml"/>
+ </webinf>
+ <webinf dir="${tests.output.dir}/resources/interop/nov2007/wsse/shared/WEB-INF">
+ <include name="wsdl/**.*"/>
+ </webinf>
+
+ <fileset dir="${tests.output.dir}/resources/interop/nov2007/wsse/">
+ <include name="*.*"/>
+ </fileset>
+ </war>
+ <!-- jbossws-interop-nov2007-wsseUsernameTokenHTTPS-client.jar -->
+ <jar destfile="${tests.output.dir}/libs/jbossws-interop-nov2007-wsseUsernameTokenHTTPS-client.jar">
+ <metainf dir="${tests.output.dir}/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF"/>
+ </jar>
+
<!-- wrap up in an *.ear for easier deployment -->
<ear destfile="${tests.output.dir}/libs/jbossws-interop.ear" appxml="${tests.output.dir}/resources/interop/root/META-INF/application.xml">
<fileset dir="${tests.output.dir}/libs" includes="*interop*.war"/>
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/AbstractWSSEBase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/AbstractWSSEBase.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/AbstractWSSEBase.java 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,103 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import java.io.File;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.net.URLClassLoader;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+import javax.xml.ws.Service;
+
+import org.jboss.test.ws.interop.ClientScenario;
+import org.jboss.test.ws.interop.InteropConfigFactory;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestHelper;
+
+/**
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id:$
+ * @since 26-Oct-2007
+ */
+public abstract class AbstractWSSEBase extends JBossWSTest
+{
+
+ protected IPingService port;
+
+ protected void setUp() throws Exception
+ {
+ super.setUp();
+
+ if (port == null)
+ {
+ URL wsdlLocation = new File("resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl").toURL();
+ QName serviceName = new QName("http://tempuri.org/", "PingService10");
+ Service service = Service.create(wsdlLocation, serviceName);
+ port = (IPingService)service.getPort(getScenarioPortQName(), IPingService.class);
+ configureClient();
+ }
+
+ scenarioSetup(port);
+ }
+
+ protected abstract void scenarioSetup(IPingService port);
+
+ protected abstract QName getScenarioPortQName();
+
+ protected void configureClient()
+ {
+
+ InteropConfigFactory factory = InteropConfigFactory.newInstance();
+ ClientScenario scenario = factory.createClientScenario(System.getProperty("client.scenario"));
+ if (scenario != null)
+ {
+ System.out.println("SCENARIO: "+scenario);
+ log.info("Using scenario: " + scenario);
+ ((BindingProvider)port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, scenario.getTargetEndpoint().toString());
+ }
+ else
+ {
+ throw new IllegalStateException("Failed to load client scenario");
+ }
+
+ }
+
+ protected static void addClientConfToClasspath(String s)
+ {
+ try
+ {
+ // wrap the classloader upfront to allow inclusion of the client.jar
+ JBossWSTestHelper helper = new JBossWSTestHelper();
+ ClassLoader parent = Thread.currentThread().getContextClassLoader();
+ URLClassLoader replacement = new URLClassLoader(new URL[] { helper.getArchiveURL(s) }, parent);
+ Thread.currentThread().setContextClassLoader(replacement);
+
+ }
+ catch (MalformedURLException e)
+ {
+ throw new IllegalStateException(e);
+ }
+ }
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/AbstractWSSEBase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/IPingService.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/IPingService.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/IPingService.java 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,36 @@
+
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.ws.Action;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+@WebService(name = "IPingService", targetNamespace = "http://xmlsoap.org/Ping")
+@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
+public interface IPingService {
+
+
+ /**
+ *
+ * @param ping
+ * @return
+ * returns java.lang.String
+ */
+ @WebMethod(operationName = "Ping", action = "http://xmlsoap.org/Ping")
+ @WebResult(name = "PingResponse", targetNamespace = "http://xmlsoap.org/Ping", partName = "PingResponse")
+ @Action(input = "http://xmlsoap.org/Ping", output = "http://xmlsoap.org/PingResponse")
+ public String ping(
+ @WebParam(name = "Ping", targetNamespace = "http://xmlsoap.org/Ping", partName = "Ping")
+ String ping);
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/IPingService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/ObjectFactory.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/ObjectFactory.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/ObjectFactory.java 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,55 @@
+
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the org.jboss.test.ws.interop.nov2007.wsse package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ *
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Ping_QNAME = new QName("http://xmlsoap.org/Ping", "Ping");
+ private final static QName _PingResponse_QNAME = new QName("http://xmlsoap.org/Ping", "PingResponse");
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jboss.test.ws.interop.nov2007.wsse
+ *
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://xmlsoap.org/Ping", name = "Ping")
+ public JAXBElement<String> createPing(String value) {
+ return new JAXBElement<String>(_Ping_QNAME, String.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
+ *
+ */
+ @XmlElementDecl(namespace = "http://xmlsoap.org/Ping", name = "PingResponse")
+ public JAXBElement<String> createPingResponse(String value) {
+ return new JAXBElement<String>(_PingResponse_QNAME, String.class, null, value);
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/ObjectFactory.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/PingService10.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/PingService10.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/PingService10.java 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,83 @@
+
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import java.net.MalformedURLException;
+import java.net.URL;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import javax.xml.ws.WebEndpoint;
+import javax.xml.ws.WebServiceClient;
+
+
+/**
+ * This class was generated by the JAX-WS RI.
+ * JAX-WS RI 2.1.1-b03-
+ * Generated source version: 2.0
+ *
+ */
+@WebServiceClient(name = "PingService10", targetNamespace = "http://tempuri.org/", wsdlLocation = "file:/dati/jbossws/stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl")
+public class PingService10
+ extends Service
+{
+
+ private final static URL PINGSERVICE10_WSDL_LOCATION;
+
+ static {
+ URL url = null;
+ try {
+ url = new URL("file:/dati/jbossws/stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl");
+ } catch (MalformedURLException e) {
+ e.printStackTrace();
+ }
+ PINGSERVICE10_WSDL_LOCATION = url;
+ }
+
+ public PingService10(URL wsdlLocation, QName serviceName) {
+ super(wsdlLocation, serviceName);
+ }
+
+ public PingService10() {
+ super(PINGSERVICE10_WSDL_LOCATION, new QName("http://tempuri.org/", "PingService10"));
+ }
+
+ /**
+ *
+ * @return
+ * returns IPingService
+ */
+ @WebEndpoint(name = "Username_IPingService_port")
+ public IPingService getUsernameIPingServicePort() {
+ return (IPingService)super.getPort(new QName("http://tempuri.org/", "Username_IPingService_port"), IPingService.class);
+ }
+
+ /**
+ *
+ * @return
+ * returns IPingService
+ */
+ @WebEndpoint(name = "MutualCertificate10SignEncrypt_IPingService_port")
+ public IPingService getMutualCertificate10SignEncryptIPingServicePort() {
+ return (IPingService)super.getPort(new QName("http://tempuri.org/", "MutualCertificate10SignEncrypt_IPingService_port"), IPingService.class);
+ }
+
+ /**
+ *
+ * @return
+ * returns IPingService
+ */
+ @WebEndpoint(name = "MutualCertificate10SignEncryptRsa15TripleDes_IPingService_port")
+ public IPingService getMutualCertificate10SignEncryptRsa15TripleDesIPingServicePort() {
+ return (IPingService)super.getPort(new QName("http://tempuri.org/", "MutualCertificate10SignEncryptRsa15TripleDes_IPingService_port"), IPingService.class);
+ }
+
+ /**
+ *
+ * @return
+ * returns IPingService
+ */
+ @WebEndpoint(name = "MutualCertificate10Sign_IPingService_port")
+ public IPingService getMutualCertificate10SignIPingServicePort() {
+ return (IPingService)super.getPort(new QName("http://tempuri.org/", "MutualCertificate10Sign_IPingService_port"), IPingService.class);
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/PingService10.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/TestService.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/TestService.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/TestService.java 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.jws.WebService;
+
+import org.jboss.ws.annotation.EndpointConfig;
+
+
+/**
+ * WCF Interoperability Plug-fest - November 2007
+ *
+ * IPingService test implementation
+ *
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id:$
+ * @since 26-Oct-2007
+ */
+//@WebService(
+// serviceName = "PingService10",
+// name = "IPingService",
+// targetNamespace = "http://tempuri.org/",
+// endpointInterface = "org.jboss.test.ws.interop.nov2007.wsse.IPingService",
+// portName = "Username_IPingService_port")
+@WebService(
+ wsdlLocation = "WEB-INF/wsdl/WSSecurty10.wsdl",
+ serviceName = "PingService10",
+ name = "IPingService",
+ targetNamespace = "http://tempuri.org/",
+ endpointInterface = "org.jboss.test.ws.interop.nov2007.wsse.IPingService",
+ portName = "Username_IPingService_port")
+@EndpointConfig(configName = "Standard WSSecurity Endpoint")
+public class TestService implements IPingService
+{
+
+ public String ping(String ping)
+ {
+ System.out.println("ping: "+ping);
+ return ping;
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/TestService.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.interop.nov2007.wsse;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.BindingProvider;
+
+import junit.framework.Test;
+
+import org.jboss.ws.core.StubExt;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * WCF Interoperability Plug-fest - November 2007
+ *
+ * Scenario 1.1:
+ * Client authenticates by passing UsernameToken in Request. Request and Response are protected by HTTPS.
+ * SOAP Version: 1.1
+ * Addressing: No
+ * Timestamp: Yes
+ * Username: Alice
+ * Password: abcd!1234
+ *
+ * Notes:
+ * - Username and password are not actually verified in the test implementation
+ *
+ *
+ * @author Alessio Soldano <alessio.soldano(a)jboss.com>
+ *
+ * @version $Id:$
+ * @since 26-Oct-2007
+ */
+public class UsernameTokenHTTPSTestCase extends AbstractWSSEBase
+{
+
+ public static Test suite()
+ {
+ addClientConfToClasspath("jbossws-interop-nov2007-wsseUsernameTokenHTTPS-client.jar");
+ return new JBossWSTestSetup(UsernameTokenHTTPSTestCase.class, "jbossws-interop-nov2007-wsseUsernameTokenHTTPS.war");
+ }
+
+ public void testScenario() throws Exception
+ {
+ String text = "Hello!";
+ String result = port.ping(text);
+ assertNotNull(result);
+ assertEquals(text, result);
+ }
+
+ @Override
+ protected void scenarioSetup(IPingService port)
+ {
+ ((StubExt)port).setConfigName("Standard WSSecurity Client");
+ //TODO!! read truststore conf for SSL from the scenario configuration
+ System.setProperty("javax.net.ssl.trustStore", "/dati/jboss-4.2/server/default/truststore_ale");
+ System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
+ System.setProperty("javax.net.ssl.trustStoreType", "jks");
+ System.setProperty("org.jboss.security.ignoreHttpsHost", "true");
+
+ ((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "Alice");
+ ((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "abcd!1234");
+ }
+
+ @Override
+ protected QName getScenarioPortQName()
+ {
+ return new QName("http://tempuri.org/", "Username_IPingService_port");
+ }
+
+}
Property changes on: stack/native/branches/asoldano/trunk/src/test/java/org/jboss/test/ws/interop/nov2007/wsse/UsernameTokenHTTPSTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurity_schema.xsd
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurity_schema.xsd (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurity_schema.xsd 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xs:schema elementFormDefault="qualified" targetNamespace="http://xmlsoap.org/Ping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://xmlsoap.org/Ping">
+ <xs:element name="Ping" type="xs:string"/>
+ <xs:element name="PingResponse" type="xs:string"/>
+</xs:schema>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurity_schema.xsd
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,347 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions name="PingService10" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:i0="http://xmlsoap.org/Ping" xmlns:tns="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ci="http://schemas.microsoft.com/ws/2005/01/WSDL/Extensions/ContractInheritance" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit..." xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+ <wsp:Policy wsu:Id="Username_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:TransportToken>
+ <wsp:Policy>
+ <sp:HttpsToken RequireClientCertificate="false"/>
+ </wsp:Policy>
+ </sp:TransportToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ </wsp:Policy>
+ </sp:TransportBinding>
+ <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysT...">
+ <wsp:Policy>
+ <sp:WssUsernameToken10/>
+ </wsp:Policy>
+ </sp:UsernameToken>
+ </wsp:Policy>
+ </sp:SignedSupportingTokens>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:UsingPolicy/>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysT...">
+ <wsp:Policy>
+ <sp:RequireDerivedKeys/>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:RequireDerivedKeys/>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncrypt_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysT...">
+ <wsp:Policy>
+ <sp:RequireDerivedKeys/>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:RequireDerivedKeys/>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:TripleDesRsa15/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ <sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:EncryptedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingService_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:InitiatorToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysT...">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:InitiatorToken>
+ <sp:RecipientToken>
+ <wsp:Policy>
+ <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
+ <wsp:Policy>
+ <sp:WssX509V3Token10/>
+ </wsp:Policy>
+ </sp:X509Token>
+ </wsp:Policy>
+ </sp:RecipientToken>
+ <sp:AlgorithmSuite>
+ <wsp:Policy>
+ <sp:Basic256/>
+ </wsp:Policy>
+ </sp:AlgorithmSuite>
+ <sp:Layout>
+ <wsp:Policy>
+ <sp:Strict/>
+ </wsp:Policy>
+ </sp:Layout>
+ <sp:IncludeTimestamp/>
+ <sp:OnlySignEntireHeadersAndBody/>
+ </wsp:Policy>
+ </sp:AsymmetricBinding>
+ <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportRefKeyIdentifier/>
+ <sp:MustSupportRefIssuerSerial/>
+ </wsp:Policy>
+ </sp:Wss10>
+ <sp:Trust10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <wsp:Policy>
+ <sp:MustSupportIssuedTokens/>
+ <sp:RequireClientEntropy/>
+ <sp:RequireServerEntropy/>
+ </wsp:Policy>
+ </sp:Trust10>
+ <wspe:Utf816FFFECharacterEncoding xmlns:wspe="http://schemas.xmlsoap.org/ws/2004/09/policy/encoding"/>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingService_Ping_Input_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsp:Policy wsu:Id="MutualCertificate10Sign_IPingService_Ping_output_policy">
+ <wsp:ExactlyOne>
+ <wsp:All>
+ <sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
+ <sp:Body/>
+ </sp:SignedParts>
+ </wsp:All>
+ </wsp:ExactlyOne>
+ </wsp:Policy>
+ <wsdl:import namespace="http://xmlsoap.org/Ping" location="WSSecurty_portType.wsdl"/>
+ <wsdl:types/>
+ <wsdl:binding name="Username_IPingService" type="i0:IPingService">
+ <wsp:PolicyReference URI="#Username_IPingService_policy"/>
+ <!--soap:binding transport="http://schemas.microsoft.com/soap/https"/-->
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MutualCertificate10SignEncrypt_IPingService" type="i0:IPingService">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_Ping_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncrypt_IPingService_Ping_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MutualCertificate10SignEncryptRsa15TripleDes_IPingService" type="i0:IPingService">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10SignEncryptRsa15TripleDes_IPingService_Ping_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:binding name="MutualCertificate10Sign_IPingService" type="i0:IPingService">
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingService_policy"/>
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="Ping">
+ <soap:operation soapAction="http://xmlsoap.org/Ping" style="document"/>
+ <wsdl:input name="PingRequest">
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingService_Ping_Input_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PingResponse">
+ <wsp:PolicyReference URI="#MutualCertificate10Sign_IPingService_Ping_output_policy"/>
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="PingService10">
+ <wsdl:port name="Username_IPingService_port" binding="tns:Username_IPingService">
+ <soap:address location="https://kirillgdev04.redmond.corp.microsoft.com/WSSecurity/svc/WsSecurity..."/>
+ </wsdl:port>
+ <wsdl:port name="MutualCertificate10SignEncrypt_IPingService_port" binding="tns:MutualCertificate10SignEncrypt_IPingService">
+ <soap:address location="http://kirillgdev04.redmond.corp.microsoft.com/WSSecurity/svc/WsSecurity1..."/>
+ </wsdl:port>
+ <wsdl:port name="MutualCertificate10SignEncryptRsa15TripleDes_IPingService_port" binding="tns:MutualCertificate10SignEncryptRsa15TripleDes_IPingService">
+ <soap:address location="http://kirillgdev04.redmond.corp.microsoft.com/WSSecurity/svc/WsSecurity1..."/>
+ </wsdl:port>
+ <wsdl:port name="MutualCertificate10Sign_IPingService_port" binding="tns:MutualCertificate10Sign_IPingService">
+ <soap:address location="http://kirillgdev04.redmond.corp.microsoft.com/WSSecurity/svc/WsSecurity1..."/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty10.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty_portType.wsdl
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty_portType.wsdl (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty_portType.wsdl 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions targetNamespace="http://xmlsoap.org/Ping" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlsoap.org/Ping" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ci="http://schemas.microsoft.com/ws/2005/01/WSDL/Extensions/ContractInheritance" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utilit..." xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
+ <wsdl:types>
+ <xsd:schema targetNamespace="http://xmlsoap.org/Ping/Imports">
+ <xsd:import schemaLocation="WSSecurity_schema.xsd" namespace="http://xmlsoap.org/Ping"/>
+ </xsd:schema>
+ </wsdl:types>
+ <wsdl:message name="PingRequest">
+ <wsdl:part name="Ping" element="tns:Ping"/>
+ </wsdl:message>
+ <wsdl:message name="PingResponse">
+ <wsdl:part name="PingResponse" element="tns:PingResponse"/>
+ </wsdl:message>
+ <wsdl:portType name="IPingService">
+ <wsdl:operation name="Ping">
+ <wsdl:input wsa:Action="http://xmlsoap.org/Ping" name="PingRequest" message="tns:PingRequest"/>
+ <wsdl:output wsa:Action="http://xmlsoap.org/PingResponse" name="PingResponse" message="tns:PingResponse"/>
+ </wsdl:operation>
+ </wsdl:portType>
+</wsdl:definitions>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/shared/WEB-INF/wsdl/WSSecurty_portType.wsdl
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/jboss-wsse-client.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/jboss-wsse-client.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/jboss-wsse-client.xml 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <username/>
+ <timestamp ttl="300"/>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,8 @@
+<client-scenarios>
+ <scenario name="default" description="Testing local endpoint">
+ <target-endpoint>https://localhost:8443/nov2007/wsseUsernameTokenHTTPS/endpoint</target-endpoint>
+ </scenario>
+ <scenario name="default-munich" description="Testing Munich endpoint">
+ <target-endpoint>https://jbossws.demo.jboss.com:8443/wsse10Sign/endpoint</target-endpoint>
+ </scenario>
+</client-scenarios>
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/META-INF/scenarios.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-web.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-web.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-web.xml 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN" "http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
+
+<jboss-web>
+ <context-root>/nov2007/wsseUsernameTokenHTTPS</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-wsse-server.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-wsse-server.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-wsse-server.xml 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,8 @@
+<jboss-ws-security xmlns="http://www.jboss.com/ws-security/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.jboss.com/ws-security/config
+ http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
+ <config>
+ <timestamp ttl="300"/>
+ </config>
+</jboss-ws-security>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml
===================================================================
--- stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml (rev 0)
+++ stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml 2007-10-26 16:50:37 UTC (rev 4900)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+ <display-name>wsseUsernameTokenHTTPSService App</display-name>
+
+ <servlet>
+ <servlet-name>UsernameTokenHTTPSEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.interop.nov2007.wsse.TestService</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>UsernameTokenHTTPSEndpoint</servlet-name>
+ <url-pattern>/endpoint</url-pattern>
+ </servlet-mapping>
+ <security-constraint>
+ <web-resource-collection>
+ <web-resource-name>UsernameTokenHTTPSEndpoint</web-resource-name>
+ <url-pattern>/endpoint</url-pattern>
+ <http-method>POST</http-method>
+ </web-resource-collection>
+ <user-data-constraint>
+ <transport-guarantee>CONFIDENTIAL</transport-guarantee>
+ </user-data-constraint>
+ </security-constraint>
+
+</web-app>
\ No newline at end of file
Property changes on: stack/native/branches/asoldano/trunk/src/test/resources/interop/nov2007/wsse/usernameTokenHTTPS/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
17 years, 2 months
JBossWS SVN: r4899 - stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2007-10-26 12:47:53 -0400 (Fri, 26 Oct 2007)
New Revision: 4899
Modified:
stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSClientMetaDataBuilder.java
Log:
Temporarily disabling WS-Policy on client side to parse wsdl containing WS-SecurityPolicy stuff.
Modified: stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSClientMetaDataBuilder.java
===================================================================
--- stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSClientMetaDataBuilder.java 2007-10-26 13:32:48 UTC (rev 4898)
+++ stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/builder/jaxws/JAXWSClientMetaDataBuilder.java 2007-10-26 16:47:53 UTC (rev 4899)
@@ -87,11 +87,12 @@
buildMetaDataInternal(serviceMetaData, wsdlDefinitions);
//Setup policies for each endpoint
- for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
- {
- PolicyMetaDataBuilder policyBuilder = PolicyMetaDataBuilder.getClientSidePolicyMetaDataBuilder();
- policyBuilder.processPolicyExtensions(epMetaData, wsdlDefinitions);
- }
+ //Policy processing disable in order to attend the WSCF Interoperability plug-fest (that requires WS-Security Policy and we don't have it yet)
+// for (EndpointMetaData epMetaData : serviceMetaData.getEndpoints())
+// {
+// PolicyMetaDataBuilder policyBuilder = PolicyMetaDataBuilder.getClientSidePolicyMetaDataBuilder();
+// policyBuilder.processPolicyExtensions(epMetaData, wsdlDefinitions);
+// }
// Read the WSDL and initialize the schema model
// This should only be needed for debuging purposes of the UMDM
17 years, 2 months