/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml
XML | 471 lines | 450 code | 3 blank | 18 comment | 0 complexity | 13ef58b2170a646a9a2bcf436f12dec6 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:util="http://www.springframework.org/schema/util"
- 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.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
- <cxf:bus>
- <cxf:features>
- <p:policies/>
- <cxf:logging/>
- </cxf:features>
- </cxf:bus>
-
- <bean id="policyLoader" class="org.apache.cxf.systest.ws.x509.SHA512PolicyLoader" >
- <constructor-arg ref="cxf"/>
- </bean>
-
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricErrorMessagePort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricAddressingPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricAddressingOneWayPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierDerivedPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierEncryptBeforeSigningPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierEncryptBeforeSigningDerivedPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierPort2" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItIssuerSerialPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItThumbprintPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricThumbprintEndorsingPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricEndorsingEncryptedPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItContentEncryptedElementsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <util:properties id="cryptoProperties" location="classpath:bob.properties"/>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetric256Port" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value-ref="cryptoProperties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="ws-security.symmetric.signature.algorithm" value="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricIssuerSerialPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricIssuerSerialOperationPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSHA512Port" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricOldConfigPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="ws-security.encryption.properties" value="bob.properties"/>
- <entry key="ws-security.encryption.username" value="bob"/>
- <entry key="ws-security.signature.properties" value="alice.properties"/>
- <entry key="ws-security.signature.username" value="alice"/>
- <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricNoInitiatorReferencePort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSP11Port" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptedPasswordPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob-enc.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.signature.properties" value="alice-enc.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSHA256Port" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- <entry key="ws-security.asymmetric.signature.algorithm" value="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricThumbprintPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricPKIPathPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptBeforeSigningPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptBeforeSigningNoEncPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptSignaturePort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSignaturePort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSignatureSP11Port" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptionPort" createdFromAPI="true">
- <jaxws:properties>
- <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.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSignatureEncryptionPort" createdFromAPI="true">
- <jaxws:properties>
- <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.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricProtectTokensPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricUsernameTokenPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEndorsingPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricUsernameTokenPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- <entry key="security.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricProtectTokensPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportEndorsingPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportEndorsingSP11Port" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSignedEndorsingPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportEndorsingEncryptedPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSignedEndorsingEncryptedPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingSignedPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingSignedCertConstraintsPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportKVTPort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.signature.properties" value="alice.properties"/>
- <entry key="security.signature.username" value="alice"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingTokenPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/supp-token-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingTokenPort2" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/clean-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportPKISupportingTokenPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/supp-token-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportNegativeEndorsingPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/end-supp-token-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportNegativeEndorsingPort2" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/supp-token-policy.xml"/>
- </p:policies>
- </jaxws:features>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricSignaturePort" createdFromAPI="true">
- <jaxws:properties>
- <entry key="security.encryption.properties" value="bob.properties"/>
- <entry key="security.encryption.username" value="bob"/>
- </jaxws:properties>
- </jaxws:client>
- <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricPropertiesPort" createdFromAPI="true">
- <jaxws:properties>
- <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"/>
- <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
- </jaxws:properties>
- </jaxws:client>
-
- <http:conduit name="https://localhost:.*">
- <http:tlsClientParameters disableCNCheck="true">
- <sec:trustManagers>
- <sec:keyStore type="jks" password="password" resource="keys/Truststore.jks"/>
- </sec:trustManagers>
- </http:tlsClientParameters>
- </http:conduit>
- </beans>