cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r782089 [3/10] - in /cxf/trunk/systests/src/test: java/org/apache/cxf/systest/ws/wssc/ java/org/apache/cxf/systest/ws/wssc/certs/ java/org/apache/cxf/systest/ws/wssc/client/ java/org/apache/cxf/systest/ws/wssc/server/ java/org/apache/cxf/sy...
Date Fri, 05 Jun 2009 18:22:00 GMT
Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/UTPasswordCallback.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/UTPasswordCallback.java?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/UTPasswordCallback.java (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/UTPasswordCallback.java Fri Jun  5 18:21:57 2009
@@ -0,0 +1,73 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.ws.wssec11.client;
+
+
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.UnsupportedCallbackException;
+
+import org.apache.ws.security.WSPasswordCallback;
+
+/**
+ */
+
+public class UTPasswordCallback implements CallbackHandler {
+    
+    private Map<String, String> passwords = 
+        new HashMap<String, String>();
+    
+    public UTPasswordCallback() {
+        passwords.put("Alice", "ecilA");
+        passwords.put("Frank", "invalid-password");
+        passwords.put("abcd", "dcba");
+    }
+
+    /**
+     * Here, we attempt to get the password from the private 
+     * alias/passwords map.
+     */
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            WSPasswordCallback pc = (WSPasswordCallback)callbacks[i];
+
+            String pass = passwords.get(pc.getIdentifier());
+            if (pass != null) {
+                pc.setPassword(pass);
+                return;
+            }
+        }
+        
+        //
+        // Password not found
+        //
+        throw new IOException();
+    }
+    
+    /**
+     * Add an alias/password pair to the callback mechanism.
+     */
+    public void setAliasPassword(String alias, String password) {
+        passwords.put(alias, password);
+    }
+}

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/UTPasswordCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/UTPasswordCallback.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=alice
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/alice.jks
\ No newline at end of file

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/alice.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=bob
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/bob.jks

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/bob.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml Fri Jun  5 18:21:57 2009
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:http="http://cxf.apache.org/transports/http/configuration"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:sec="http://cxf.apache.org/configuration/security"
+       xsi:schemaLocation="
+          http://www.springframework.org/schema/beans           http://www.springframework.org/schema/beans/spring-beans.xsd
+          http://cxf.apache.org/jaxws                           http://cxf.apache.org/schemas/jaxws.xsd
+          http://cxf.apache.org/transports/http/configuration   http://cxf.apache.org/schemas/configuration/http-conf.xsd
+          http://cxf.apache.org/configuration/security          http://cxf.apache.org/schemas/configuration/security.xsd
+          http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+          http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd"
+>
+    <cxf:bus>
+        <cxf:features>
+            <p:policies/>
+            <cxf:logging/>
+        </cxf:features>
+    </cxf:bus>
+    <!-- -->
+    <!-- Scenario 4.1 -->
+    <!-- -->
+    <jaxws:client name="{http://WSSec/wssec11}A_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}A-NoTimestamp_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}AD_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}A-ES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}AD-ES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+
+    <jaxws:client name="{http://WSSec/wssec11}UX_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}UX-NoTimestamp_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}UXD_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>    
+    <jaxws:client name="{http://WSSec/wssec11}UX-SEES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>    
+    <jaxws:client name="{http://WSSec/wssec11}UXD-SEES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>    
+    
+    <jaxws:client name="{http://WSSec/wssec11}X_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-NoTimestamp_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-AES128_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-AES192_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-TripleDES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}XD_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+        <jaxws:client name="{http://WSSec/wssec11}XD-ES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}XD-SEES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>        
+</beans>

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml Fri Jun  5 18:21:57 2009
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:http="http://cxf.apache.org/transports/http/configuration"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:sec="http://cxf.apache.org/configuration/security"
+       xsi:schemaLocation="
+          http://www.springframework.org/schema/beans           http://www.springframework.org/schema/beans/spring-beans.xsd
+          http://cxf.apache.org/jaxws                           http://cxf.apache.org/schemas/jaxws.xsd
+          http://cxf.apache.org/transports/http/configuration   http://cxf.apache.org/schemas/configuration/http-conf.xsd
+          http://cxf.apache.org/configuration/security          http://cxf.apache.org/schemas/configuration/security.xsd
+          http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+          http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd"
+>
+    <cxf:bus>
+        <cxf:features>
+            <p:policies/>
+            <cxf:logging/>
+        </cxf:features>
+    </cxf:bus>
+    <!-- -->
+    <!-- Scenario 4.1 -->
+    <!-- -->
+    <jaxws:client name="{http://WSSec/wssec11}A_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}A-NoTimestamp_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}AD_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}A-ES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}AD-ES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+
+    <jaxws:client name="{http://WSSec/wssec11}UX_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}UX-NoTimestamp_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}UXD_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>    
+    <jaxws:client name="{http://WSSec/wssec11}UX-SEES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>    
+    <jaxws:client name="{http://WSSec/wssec11}UXD-SEES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="abcd"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>    
+    
+    <jaxws:client name="{http://WSSec/wssec11}X_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-NoTimestamp_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-AES128_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-AES192_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}X-TripleDES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}XD_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+        <jaxws:client name="{http://WSSec/wssec11}XD-ES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>
+    <jaxws:client name="{http://WSSec/wssec11}XD-SEES_IPingService" createdFromAPI="true">
+        <jaxws:properties>
+            <entry key="ws-security.username" value="Alice"/>
+            <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.wssec11.client.KeystorePasswordCallback"/>
+            <entry key="ws-security.encryption.properties" value="org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties"/> 
+        </jaxws:properties>
+    </jaxws:client>        
+</beans>

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/client_restricted.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=alice
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/restricted/alice.jks
\ No newline at end of file

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/alice.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=bob
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/restricted/bob.jks

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/client/restricted/bob.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/KeystorePasswordCallback.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/KeystorePasswordCallback.java?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/KeystorePasswordCallback.java (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/KeystorePasswordCallback.java Fri Jun  5 18:21:57 2009
@@ -0,0 +1,71 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.ws.wssec11.server;
+
+ 
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.UnsupportedCallbackException;
+
+import org.apache.ws.security.WSPasswordCallback;
+
+/**
+ */
+
+public class KeystorePasswordCallback implements CallbackHandler {
+    
+    private Map<String, String> passwords = 
+        new HashMap<String, String>();
+    
+    public KeystorePasswordCallback() {
+        passwords.put("Alice", "abcd!1234");
+        passwords.put("alice", "password");
+        passwords.put("Bob", "abcd!1234");
+        passwords.put("bob", "password");
+    }
+
+    /**
+     * It attempts to get the password from the private 
+     * alias/passwords map.
+     */
+    public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException {
+        for (int i = 0; i < callbacks.length; i++) {
+            WSPasswordCallback pc = (WSPasswordCallback)callbacks[i];
+
+            String pass = passwords.get(pc.getIdentifier());
+            if (pass != null) {
+                pc.setPassword(pass);
+                return;
+            } else {
+                pc.setPassword("password");
+            }
+        }
+    }
+    
+    /**
+     * Add an alias/password pair to the callback mechanism.
+     */
+    public void setAliasPassword(String alias, String password) {
+        passwords.put(alias, password);
+    }
+}

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/KeystorePasswordCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/KeystorePasswordCallback.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/PingService.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/PingService.java?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/PingService.java (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/PingService.java Fri Jun  5 18:21:57 2009
@@ -0,0 +1,36 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.ws.wssec11.server;
+
+import wssec.wssec11.IPingService;
+
+/**
+ * 
+ */
+public class PingService implements IPingService {
+
+    /** {@inheritDoc}*/
+    public String echo(String request) {
+        System.out.println("echo: " + request);
+        return request;
+    }
+
+   
+
+}

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/PingService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/PingService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/Server.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/Server.java?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/Server.java (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/Server.java Fri Jun  5 18:21:57 2009
@@ -0,0 +1,225 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.ws.wssec11.server;
+
+import javax.xml.ws.Endpoint;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+import org.apache.cxf.ws.security.SecurityConstants;
+
+public class Server extends AbstractBusTestServerBase {
+
+    public Server() throws Exception {
+        this("http://localhost:9001");
+    }
+    
+    protected Server(String baseUrl) throws Exception {
+        
+        
+        doPublish(baseUrl + "/APingService", new APingService());
+        doPublish(baseUrl + "/A-NoTimestampPingService", new ANoTimestampPingService());
+        doPublish(baseUrl + "/ADPingService", new ADPingService());
+        doPublish(baseUrl + "/A-ESPingService", new AESPingService());
+        doPublish(baseUrl + "/AD-ESPingService", new ADESPingService());
+        doPublish(baseUrl + "/UXPingService", new UXPingService());
+        doPublish(baseUrl + "/UX-NoTimestampPingService", new UXNoTimestampPingService());
+        doPublish(baseUrl + "/UXDPingService", new UXDPingService());
+        doPublish(baseUrl + "/UX-SEESPingService", new UXSEESPingService());
+        doPublish(baseUrl + "/UXD-SEESPingService", new UXDSEESPingService()); 
+        doPublish(baseUrl + "/XPingService", new XPingService());
+        doPublish(baseUrl + "/X-NoTimestampPingService", new XNoTimestampPingService());
+        doPublish(baseUrl + "/X-AES128PingService", new XAES128PingService());
+        doPublish(baseUrl + "/X-AES192PingService", new XAES192PingService());
+        doPublish(baseUrl + "/X-TripleDESPingService", new XTripleDESPingService());
+        doPublish(baseUrl + "/XDPingService", new XDPingService());
+        doPublish(baseUrl + "/XD-ESPingService", new XDESPingService());
+        doPublish(baseUrl + "/XD-SEESPingService", new XDSEESPingService());
+    }
+    private void doPublish(String url, Object obj) {
+        Endpoint ep = Endpoint.create(obj);
+        ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
+        ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES, 
+                "org/apache/cxf/systest/ws/wssec11/server/bob.properties");
+        ep.publish(url);
+    }
+    
+    protected void run()  {
+        Bus busLocal = new SpringBusFactory().createBus(
+            "org/apache/cxf/systest/ws/wssec11/server/server.xml");
+        BusFactory.setDefaultBus(busLocal);
+        setBus(busLocal);
+
+        try {
+            new Server("http://localhost:9001");
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+    
+    public static void main(String args[]) throws Exception {
+        new SpringBusFactory().createBus("org/apache/cxf/systest/ws/wssec11/server/server.xml");
+        new Server("http://localhost:9001");
+        System.out.println("Server ready...");
+
+        Thread.sleep(60 * 60 * 10000);
+        System.out.println("Server exiting");
+        System.exit(0);
+    }
+    
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "A_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class APingService extends PingService {
+    }
+    
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "A-NoTimestamp_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class ANoTimestampPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "AD_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class ADPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "A-ES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class AESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "AD-ES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class ADESPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UX_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class UXPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UX-NoTimestamp_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class UXNoTimestampPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UXD_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class UXDPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UX-SEES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class UXSEESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UXD-SEES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class UXDSEESPingService extends PingService {
+    }
+
+
+    
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-NoTimestamp_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XNoTimestampPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "XD_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XDPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "XD-ES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XDESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "XD-SEES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XDSEESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-AES128_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XAES128PingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-AES192_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XAES192PingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-TripleDES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = "target/test-classes/wsdl_systest/wssec11/WsSecurity11.wsdl")        
+    public static class XTripleDESPingService extends PingService {
+    }
+
+}

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/Server.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/Server.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/ServerRestricted.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/ServerRestricted.java?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/ServerRestricted.java (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/ServerRestricted.java Fri Jun  5 18:21:57 2009
@@ -0,0 +1,243 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.cxf.systest.ws.wssec11.server;
+
+import javax.xml.ws.Endpoint;
+
+import org.apache.cxf.Bus;
+import org.apache.cxf.BusFactory;
+import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+import org.apache.cxf.ws.security.SecurityConstants;
+
+public class ServerRestricted extends AbstractBusTestServerBase {
+
+    public ServerRestricted() throws Exception {
+        this("http://localhost:9001");
+    }
+    
+    protected ServerRestricted(String baseUrl) throws Exception {
+        
+        
+        doPublish(baseUrl + "/APingService", new APingService());
+        doPublish(baseUrl + "/A-NoTimestampPingService", new ANoTimestampPingService());
+        doPublish(baseUrl + "/ADPingService", new ADPingService());
+        doPublish(baseUrl + "/A-ESPingService", new AESPingService());
+        doPublish(baseUrl + "/AD-ESPingService", new ADESPingService());
+        doPublish(baseUrl + "/UXPingService", new UXPingService());
+        doPublish(baseUrl + "/UX-NoTimestampPingService", new UXNoTimestampPingService());
+        doPublish(baseUrl + "/UXDPingService", new UXDPingService());
+        doPublish(baseUrl + "/UX-SEESPingService", new UXSEESPingService());
+        doPublish(baseUrl + "/UXD-SEESPingService", new UXDSEESPingService()); 
+        doPublish(baseUrl + "/XPingService", new XPingService());
+        doPublish(baseUrl + "/X-NoTimestampPingService", new XNoTimestampPingService());
+//        doPublish(baseUrl + "/X-AES128PingService", new XAES128PingService());
+//        doPublish(baseUrl + "/X-AES192PingService", new XAES192PingService());
+//        doPublish(baseUrl + "/X-TripleDESPingService", new XTripleDESPingService());
+        doPublish(baseUrl + "/XDPingService", new XDPingService());
+        doPublish(baseUrl + "/XD-ESPingService", new XDESPingService());
+        doPublish(baseUrl + "/XD-SEESPingService", new XDSEESPingService());
+    }
+    private void doPublish(String url, Object obj) {
+        Endpoint ep = Endpoint.create(obj);
+        ep.getProperties().put(SecurityConstants.CALLBACK_HANDLER, new KeystorePasswordCallback());
+        ep.getProperties().put(SecurityConstants.ENCRYPT_PROPERTIES, 
+                "org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties");
+        ep.publish(url);
+    }
+    
+    protected void run()  {
+        Bus busLocal = new SpringBusFactory().createBus(
+            "org/apache/cxf/systest/ws/wssec11/server/server.xml");
+        BusFactory.setDefaultBus(busLocal);
+        setBus(busLocal);
+
+        try {
+            new ServerRestricted("http://localhost:9001");
+        } catch (Exception e) {
+            e.printStackTrace();
+        }
+    }
+    
+    public static void main(String args[]) throws Exception {
+        new SpringBusFactory().createBus("org/apache/cxf/systest/ws/wssec11/server/server.xml");
+        new ServerRestricted("http://localhost:9001");
+        System.out.println("Server ready...");
+
+        Thread.sleep(60 * 60 * 10000);
+        System.out.println("Server exiting");
+        System.exit(0);
+    }
+    
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "A_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class APingService extends PingService {
+    }
+    
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "A-NoTimestamp_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class ANoTimestampPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "AD_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class ADPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "A-ES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class AESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "AD-ES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class ADESPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UX_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class UXPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UX-NoTimestamp_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class UXNoTimestampPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UXD_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class UXDPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UX-SEES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class UXSEESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "UXD-SEES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class UXDSEESPingService extends PingService {
+    }
+
+
+    
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-NoTimestamp_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XNoTimestampPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "XD_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XDPingService extends PingService {
+    }
+
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "XD-ES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XDESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "XD-SEES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XDSEESPingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-AES128_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XAES128PingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-AES192_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XAES192PingService extends PingService {
+    }
+    @javax.jws.WebService(targetNamespace = "http://WSSec/wssec11", 
+                          serviceName = "PingService11", 
+                          portName = "X-TripleDES_IPingService", 
+                          endpointInterface = "wssec.wssec11.IPingService",
+                          wsdlLocation = 
+                              "target/test-classes/wsdl_systest/wssec11/WsSecurity11_restricted.wsdl")        
+    public static class XTripleDESPingService extends PingService {
+    }
+
+}

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/ServerRestricted.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/ServerRestricted.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=alice
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/alice.jks
\ No newline at end of file

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/alice.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=bob
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/bob.jks

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/bob.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=alice
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/restricted/alice.jks
\ No newline at end of file

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/alice.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties Fri Jun  5 18:21:57 2009
@@ -0,0 +1,21 @@
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
+org.apache.ws.security.crypto.merlin.keystore.type=jks
+org.apache.ws.security.crypto.merlin.keystore.password=password
+org.apache.ws.security.crypto.merlin.keystore.alias=bob
+org.apache.ws.security.crypto.merlin.file=src/test/java/org/apache/cxf/systest/ws/wssec11/certs/restricted/bob.jks

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/restricted/bob.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml?rev=782089&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml Fri Jun  5 18:21:57 2009
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+ 
+ http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:http="http://cxf.apache.org/transports/http/configuration"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:sec="http://cxf.apache.org/configuration/security"
+       xsi:schemaLocation="
+          http://www.springframework.org/schema/beans           http://www.springframework.org/schema/beans/spring-beans.xsd
+          http://cxf.apache.org/jaxws                           http://cxf.apache.org/schemas/jaxws.xsd
+          http://cxf.apache.org/transports/http/configuration   http://cxf.apache.org/schemas/configuration/http-conf.xsd
+          http://cxf.apache.org/configuration/security          http://cxf.apache.org/schemas/configuration/security.xsd
+          http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+          http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd"
+>
+    <cxf:bus>
+        <cxf:features>
+            <p:policies/>
+            <cxf:logging/>
+        </cxf:features>
+    </cxf:bus>
+
+</beans>

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/ws/wssec11/server/server.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message