Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SWITCHYARD-628: WS-Security support

  • Loading branch information...
commit f51efa299dccdf146efcfeb8dd4038924921eeed 1 parent 1e30409
@errantepiphany errantepiphany authored
View
3  jboss-as7/modules/src/main/resources/switchyard/components/soap/resources/module.xml
@@ -31,9 +31,12 @@
<module name="javax.api"/>
<module name="javax.servlet.api"/>
<module name="javax.wsdl4j.api"/>
+ <module name="org.apache.cxf"/>
<module name="org.apache.log4j"/>
<module name="org.jboss.as.webservices" export="true"/>
+ <module name="org.jboss.ws.api" export="false"/>
<module name="org.jboss.ws.spi" services="import" export="true"/>
+ <module name="org.jboss.ws.cxf.jbossws-cxf-server" export="true"/>
<module name="org.switchyard.api"/>
<module name="org.switchyard.common"/>
<module name="org.switchyard.config"/>
View
5 jboss-as7/pom.xml
@@ -272,6 +272,11 @@
<artifactId>switchyard-quickstart-demo-policy-security-saml</artifactId>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.switchyard.quickstarts.demos</groupId>
+ <artifactId>switchyard-quickstart-demo-policy-security-wss-username</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<profiles>
<profile>
View
48 ...ests/src/test/java/org/switchyard/test/quickstarts/demo/PolicySecurityWssUsernameDemoQuickstartTest.java
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * 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,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.switchyard.test.quickstarts.demo;
+
+import junit.framework.Assert;
+
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.shrinkwrap.api.spec.JavaArchive;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.switchyard.test.ArquillianUtil;
+
+/**
+ * The policy-security-wss-username demo quickstart test.
+ *
+ * @author David Ward &lt;<a href="mailto:dward@jboss.org">dward@jboss.org</a>&gt; &copy; 2013 Red Hat Inc.
+ */
+@RunWith(Arquillian.class)
+public class PolicySecurityWssUsernameDemoQuickstartTest {
+
+ @Deployment(testable = false)
+ public static JavaArchive createDeployment() {
+ return ArquillianUtil.createJarDemoDeployment("switchyard-quickstart-demo-policy-security-wss-username");
+ }
+
+ @Test
+ public void test() throws Exception {
+ Assert.assertTrue(true);
+ }
+
+}
Please sign in to comment.
Something went wrong with that request. Please try again.