/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/parts/client.xml
XML | 355 lines | 335 code | 2 blank | 18 comment | 0 complexity | 40e4683891ce2891808acb78bfbf3f33 MD5 | raw file
- <?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 http://www.w3.org/ns/ws-policy http://www.w3.org/2007/02/ws-policy.xsd">
- <cxf:bus>
- <cxf:features>
- <p:policies/>
- <cxf:logging/>
- </cxf:features>
- </cxf:bus>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItRequiredPartsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItRequiredPartsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItRequiredElementsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItRequiredElementsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedPartsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/signed-parts-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedPartsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/signed-addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedPartsPort3" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/signed-body-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedElementsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/signed-elements-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedElementsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedPartsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/encrypted-parts-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedPartsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/encrypted-addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedPartsPort3" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/encrypted-body-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedElementsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/encrypted-elements-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedElementsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedElementsPort3" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/multiple-encrypted-elements-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItContentEncryptedElementsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/content-encrypted-elements-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItContentEncryptedElementsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/parts/addr-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
-
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedAttachmentsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy"
- URI="classpath:/org/apache/cxf/systest/ws/parts/signed-attachments-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSignedAttachmentsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy"
- URI="classpath:/org/apache/cxf/systest/ws/parts/signed-body-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedAttachmentsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy"
- URI="classpath:/org/apache/cxf/systest/ws/parts/encrypted-attachments-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItEncryptedAttachmentsPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.username" value="Alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.UTPasswordCallback"/>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy"
- URI="classpath:/org/apache/cxf/systest/ws/parts/encrypted-body-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- </beans>