Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

SWITCHYARD-628: WS-Security support

  • Loading branch information...
commit f51efa299dccdf146efcfeb8dd4038924921eeed 1 parent 1e30409
David Ward authored
3  jboss-as7/modules/src/main/resources/switchyard/components/soap/resources/module.xml
@@ -31,9 +31,12 @@
31 31 <module name="javax.api"/>
32 32 <module name="javax.servlet.api"/>
33 33 <module name="javax.wsdl4j.api"/>
  34 + <module name="org.apache.cxf"/>
34 35 <module name="org.apache.log4j"/>
35 36 <module name="org.jboss.as.webservices" export="true"/>
  37 + <module name="org.jboss.ws.api" export="false"/>
36 38 <module name="org.jboss.ws.spi" services="import" export="true"/>
  39 + <module name="org.jboss.ws.cxf.jbossws-cxf-server" export="true"/>
37 40 <module name="org.switchyard.api"/>
38 41 <module name="org.switchyard.common"/>
39 42 <module name="org.switchyard.config"/>
5 jboss-as7/pom.xml
@@ -272,6 +272,11 @@
272 272 <artifactId>switchyard-quickstart-demo-policy-security-saml</artifactId>
273 273 <scope>test</scope>
274 274 </dependency>
  275 + <dependency>
  276 + <groupId>org.switchyard.quickstarts.demos</groupId>
  277 + <artifactId>switchyard-quickstart-demo-policy-security-wss-username</artifactId>
  278 + <scope>test</scope>
  279 + </dependency>
275 280 </dependencies>
276 281 <profiles>
277 282 <profile>
48 ...ests/src/test/java/org/switchyard/test/quickstarts/demo/PolicySecurityWssUsernameDemoQuickstartTest.java
... ... @@ -0,0 +1,48 @@
  1 +/*
  2 + * JBoss, Home of Professional Open Source
  3 + * Copyright 2013 Red Hat Inc. and/or its affiliates and other contributors
  4 + * as indicated by the @authors tag. All rights reserved.
  5 + * See the copyright.txt in the distribution for a
  6 + * full listing of individual contributors.
  7 + *
  8 + * This copyrighted material is made available to anyone wishing to use,
  9 + * modify, copy, or redistribute it subject to the terms and conditions
  10 + * of the GNU Lesser General Public License, v. 2.1.
  11 + * This program is distributed in the hope that it will be useful, but WITHOUT A
  12 + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  13 + * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
  14 + * You should have received a copy of the GNU Lesser General Public License,
  15 + * v.2.1 along with this distribution; if not, write to the Free Software
  16 + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  17 + * MA 02110-1301, USA.
  18 + */
  19 +package org.switchyard.test.quickstarts.demo;
  20 +
  21 +import junit.framework.Assert;
  22 +
  23 +import org.jboss.arquillian.container.test.api.Deployment;
  24 +import org.jboss.arquillian.junit.Arquillian;
  25 +import org.jboss.shrinkwrap.api.spec.JavaArchive;
  26 +import org.junit.Test;
  27 +import org.junit.runner.RunWith;
  28 +import org.switchyard.test.ArquillianUtil;
  29 +
  30 +/**
  31 + * The policy-security-wss-username demo quickstart test.
  32 + *
  33 + * @author David Ward &lt;<a href="mailto:dward@jboss.org">dward@jboss.org</a>&gt; &copy; 2013 Red Hat Inc.
  34 + */
  35 +@RunWith(Arquillian.class)
  36 +public class PolicySecurityWssUsernameDemoQuickstartTest {
  37 +
  38 + @Deployment(testable = false)
  39 + public static JavaArchive createDeployment() {
  40 + return ArquillianUtil.createJarDemoDeployment("switchyard-quickstart-demo-policy-security-wss-username");
  41 + }
  42 +
  43 + @Test
  44 + public void test() throws Exception {
  45 + Assert.assertTrue(true);
  46 + }
  47 +
  48 +}

0 comments on commit f51efa2

Please sign in to comment.
Something went wrong with that request. Please try again.