[jboss-svn-commits] JBossWS SVN: r785 - in branches/jbossws-1.0/src/test/resources: samples/wssecurity samples/wssecurity/store-pass-encrypt samples/wssecurity/store-pass-encrypt/META-INF samples/wssecurity/store-pass-encrypt/WEB-INF wsse wsse/store-pass-encrypt-class-cmd
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Sat Aug 19 03:11:35 EDT 2006
Author: mageshbk
Date: 2006-08-19 03:11:24 -0400 (Sat, 19 Aug 2006)
New Revision: 785
Added:
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/jboss-web.xml
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml
branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml
branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/
branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-client.xml
branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-server.xml
Log:
Added test case to test updated SecurityStore using {EXT} and {CLASS} methods
Added: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<application-client 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/application-client_1_4.xsd"
+ version="1.4">
+
+ <display-name>HelloService</display-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <service-interface>javax.xml.rpc.Service</service-interface>
+ <wsdl-file>META-INF/wsdl/HelloService.wsdl</wsdl-file>
+ <jaxrpc-mapping-file>META-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
+ <port-component-ref>
+ <service-endpoint-interface>org.jboss.test.ws.samples.wssecurity.Hello</service-endpoint-interface>
+ </port-component-ref>
+ </service-ref>
+
+</application-client>
+
Property changes on: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/application-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,16 @@
+<?xml version='1.0' encoding='UTF-8' ?>
+
+<!DOCTYPE jboss-client PUBLIC
+ "-//JBoss//DTD Application Client 4.0//EN"
+ "http://www.jboss.org/j2ee/dtd/jboss-client_4_0.dtd">
+
+<jboss-client>
+ <jndi-name>jbossws-client</jndi-name>
+
+ <service-ref>
+ <service-ref-name>service/HelloService</service-ref-name>
+ <config-name>Standard Secure Client</config-name>
+ <wsdl-override>http://@jbosstest.host.name@:8080/jbossws-samples-store-pass-encrypt?wsdl</wsdl-override>
+ </service-ref>
+
+</jboss-client>
Property changes on: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,11 @@
+<?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>
+ <sign type="x509v3" alias="wsse"/>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
Property changes on: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/META-INF/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/jboss-web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/jboss-web.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/jboss-web.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,14 @@
+<?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>jbossws-samples-store-pass-encrypt</context-root>
+
+ <webservice-description>
+ <webservice-description-name>HelloService</webservice-description-name>
+ <config-name>Standard Secure Endpoint</config-name>
+ </webservice-description>
+
+</jboss-web>
Property changes on: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app 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"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>HelloService</servlet-name>
+ <servlet-class>org.jboss.test.ws.samples.wssecurity.HelloJavaBean</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>HelloService</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
+
Property changes on: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,17 @@
+<?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">
+ <key-store-file>WEB-INF/wsse.keystore</key-store-file>
+ <!--Note ${buildpath} will be replaced with the actual build directory path -->
+ <key-store-password>{EXT}java -cp ${buildpath}/classes org.jboss.test.ws.wsse.PasswordUtil ${buildpath}/resources/wsse/keystore.password</key-store-password>
+ <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
+ <!--Note ${buildpath} will be replaced with the actual build directory path -->
+ <trust-store-password>{CLASS}org.jboss.security.plugins.FilePassword:${buildpath}/resources/wsse/keystore.password</trust-store-password>
+ <config>
+ <sign type="x509v3" alias="wsse"/>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
Property changes on: branches/jbossws-1.0/src/test/resources/samples/wssecurity/store-pass-encrypt/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-client.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-client.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-client.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,11 @@
+<?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>
+ <sign type="x509v3" alias="wsse"/>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
Property changes on: branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-client.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-server.xml
===================================================================
--- branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-server.xml 2006-08-19 07:08:53 UTC (rev 784)
+++ branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-server.xml 2006-08-19 07:11:24 UTC (rev 785)
@@ -0,0 +1,17 @@
+<?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">
+ <key-store-file>WEB-INF/wsse.keystore</key-store-file>
+ <!--Note ${buildpath} will be replaced with the actual build directory path -->
+ <key-store-password>{EXT}java -cp ${buildpath}/classes org.jboss.test.ws.wsse.PasswordUtil ${buildpath}/resources/wsse/keystore.password</key-store-password>
+ <trust-store-file>WEB-INF/wsse.truststore</trust-store-file>
+ <!--Note ${buildpath} will be replaced with the actual build directory path -->
+ <trust-store-password>{CLASS}org.jboss.security.plugins.FilePassword:${buildpath}/resources/wsse/keystore.password</trust-store-password>
+ <config>
+ <sign type="x509v3" alias="wsse"/>
+ <encrypt type="x509v3" alias="wsse"/>
+ <requires>
+ <signature/>
+ <encryption/>
+ </requires>
+ </config>
+</jboss-ws-security>
Property changes on: branches/jbossws-1.0/src/test/resources/wsse/store-pass-encrypt-class-cmd/jboss-wsse-server.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
More information about the jboss-svn-commits
mailing list