PageRenderTime 653ms CodeModel.GetById 31ms RepoModel.GetById 9ms app.codeStats 0ms

/systests/ws-security/src/test/resources/org/apache/cxf/systest/ws/x509/client.xml

https://github.com/dblevins/cxf
XML | 471 lines | 450 code | 3 blank | 18 comment | 0 complexity | 13ef58b2170a646a9a2bcf436f12dec6 MD5 | raw file
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one
  4. or more contributor license agreements. See the NOTICE file
  5. distributed with this work for additional information
  6. regarding copyright ownership. The ASF licenses this file
  7. to you under the Apache License, Version 2.0 (the
  8. "License"); you may not use this file except in compliance
  9. with the License. You may obtain a copy of the License at
  10. http://www.apache.org/licenses/LICENSE-2.0
  11. Unless required by applicable law or agreed to in writing,
  12. software distributed under the License is distributed on an
  13. "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  14. KIND, either express or implied. See the License for the
  15. specific language governing permissions and limitations
  16. under the License.
  17. -->
  18. <beans xmlns="http://www.springframework.org/schema/beans"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xmlns:util="http://www.springframework.org/schema/util"
  21. xmlns:http="http://cxf.apache.org/transports/http/configuration"
  22. xmlns:jaxws="http://cxf.apache.org/jaxws"
  23. xmlns:cxf="http://cxf.apache.org/core"
  24. xmlns:p="http://cxf.apache.org/policy"
  25. xmlns:sec="http://cxf.apache.org/configuration/security"
  26. 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">
  27. <cxf:bus>
  28. <cxf:features>
  29. <p:policies/>
  30. <cxf:logging/>
  31. </cxf:features>
  32. </cxf:bus>
  33. <bean id="policyLoader" class="org.apache.cxf.systest.ws.x509.SHA512PolicyLoader" >
  34. <constructor-arg ref="cxf"/>
  35. </bean>
  36. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricErrorMessagePort" createdFromAPI="true">
  37. <jaxws:properties>
  38. <entry key="security.encryption.properties" value="bob.properties"/>
  39. <entry key="security.encryption.username" value="bob"/>
  40. </jaxws:properties>
  41. </jaxws:client>
  42. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierPort" createdFromAPI="true">
  43. <jaxws:properties>
  44. <entry key="security.encryption.properties" value="bob.properties"/>
  45. <entry key="security.encryption.username" value="bob"/>
  46. </jaxws:properties>
  47. </jaxws:client>
  48. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricAddressingPort" createdFromAPI="true">
  49. <jaxws:properties>
  50. <entry key="security.encryption.properties" value="bob.properties"/>
  51. <entry key="security.encryption.username" value="bob"/>
  52. </jaxws:properties>
  53. </jaxws:client>
  54. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricAddressingOneWayPort" createdFromAPI="true">
  55. <jaxws:properties>
  56. <entry key="security.encryption.properties" value="bob.properties"/>
  57. <entry key="security.encryption.username" value="bob"/>
  58. </jaxws:properties>
  59. </jaxws:client>
  60. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierDerivedPort" createdFromAPI="true">
  61. <jaxws:properties>
  62. <entry key="security.encryption.properties" value="bob.properties"/>
  63. <entry key="security.encryption.username" value="bob"/>
  64. </jaxws:properties>
  65. </jaxws:client>
  66. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierEncryptBeforeSigningPort" createdFromAPI="true">
  67. <jaxws:properties>
  68. <entry key="security.encryption.properties" value="bob.properties"/>
  69. <entry key="security.encryption.username" value="bob"/>
  70. </jaxws:properties>
  71. </jaxws:client>
  72. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierEncryptBeforeSigningDerivedPort" createdFromAPI="true">
  73. <jaxws:properties>
  74. <entry key="security.encryption.properties" value="bob.properties"/>
  75. <entry key="security.encryption.username" value="bob"/>
  76. </jaxws:properties>
  77. </jaxws:client>
  78. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItKeyIdentifierPort2" createdFromAPI="true">
  79. <jaxws:properties>
  80. <entry key="security.encryption.properties" value="bob.properties"/>
  81. <entry key="security.encryption.username" value="bob"/>
  82. </jaxws:properties>
  83. </jaxws:client>
  84. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItIssuerSerialPort" createdFromAPI="true">
  85. <jaxws:properties>
  86. <entry key="security.encryption.properties" value="bob.properties"/>
  87. <entry key="security.encryption.username" value="bob"/>
  88. </jaxws:properties>
  89. </jaxws:client>
  90. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItThumbprintPort" createdFromAPI="true">
  91. <jaxws:properties>
  92. <entry key="security.encryption.properties" value="bob.properties"/>
  93. <entry key="security.encryption.username" value="bob"/>
  94. </jaxws:properties>
  95. </jaxws:client>
  96. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricThumbprintEndorsingPort" createdFromAPI="true">
  97. <jaxws:properties>
  98. <entry key="security.encryption.properties" value="bob.properties"/>
  99. <entry key="security.encryption.username" value="bob"/>
  100. <entry key="security.signature.properties" value="alice.properties"/>
  101. <entry key="security.signature.username" value="alice"/>
  102. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  103. </jaxws:properties>
  104. </jaxws:client>
  105. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricEndorsingEncryptedPort" createdFromAPI="true">
  106. <jaxws:properties>
  107. <entry key="security.encryption.properties" value="bob.properties"/>
  108. <entry key="security.encryption.username" value="bob"/>
  109. <entry key="security.signature.properties" value="alice.properties"/>
  110. <entry key="security.signature.username" value="alice"/>
  111. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  112. </jaxws:properties>
  113. </jaxws:client>
  114. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItContentEncryptedElementsPort" createdFromAPI="true">
  115. <jaxws:properties>
  116. <entry key="security.encryption.properties" value="bob.properties"/>
  117. <entry key="security.encryption.username" value="bob"/>
  118. </jaxws:properties>
  119. </jaxws:client>
  120. <util:properties id="cryptoProperties" location="classpath:bob.properties"/>
  121. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetric256Port" createdFromAPI="true">
  122. <jaxws:properties>
  123. <entry key="security.encryption.properties" value-ref="cryptoProperties"/>
  124. <entry key="security.encryption.username" value="bob"/>
  125. <entry key="ws-security.symmetric.signature.algorithm" value="http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/>
  126. </jaxws:properties>
  127. </jaxws:client>
  128. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricIssuerSerialPort" createdFromAPI="true">
  129. <jaxws:properties>
  130. <entry key="security.encryption.properties" value="bob.properties"/>
  131. <entry key="security.encryption.username" value="bob"/>
  132. <entry key="security.signature.properties" value="alice.properties"/>
  133. <entry key="security.signature.username" value="alice"/>
  134. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  135. </jaxws:properties>
  136. </jaxws:client>
  137. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricIssuerSerialOperationPort" createdFromAPI="true">
  138. <jaxws:properties>
  139. <entry key="security.encryption.properties" value="bob.properties"/>
  140. <entry key="security.encryption.username" value="bob"/>
  141. <entry key="security.signature.properties" value="alice.properties"/>
  142. <entry key="security.signature.username" value="alice"/>
  143. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  144. </jaxws:properties>
  145. </jaxws:client>
  146. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSHA512Port" createdFromAPI="true">
  147. <jaxws:properties>
  148. <entry key="security.encryption.properties" value="bob.properties"/>
  149. <entry key="security.encryption.username" value="bob"/>
  150. <entry key="security.signature.properties" value="alice.properties"/>
  151. <entry key="security.signature.username" value="alice"/>
  152. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  153. </jaxws:properties>
  154. </jaxws:client>
  155. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricOldConfigPort" createdFromAPI="true">
  156. <jaxws:properties>
  157. <entry key="ws-security.encryption.properties" value="bob.properties"/>
  158. <entry key="ws-security.encryption.username" value="bob"/>
  159. <entry key="ws-security.signature.properties" value="alice.properties"/>
  160. <entry key="ws-security.signature.username" value="alice"/>
  161. <entry key="ws-security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  162. </jaxws:properties>
  163. </jaxws:client>
  164. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricNoInitiatorReferencePort" createdFromAPI="true">
  165. <jaxws:properties>
  166. <entry key="security.encryption.properties" value="bob.properties"/>
  167. <entry key="security.encryption.username" value="bob"/>
  168. <entry key="security.signature.properties" value="alice.properties"/>
  169. <entry key="security.signature.username" value="alice"/>
  170. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  171. </jaxws:properties>
  172. </jaxws:client>
  173. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSP11Port" createdFromAPI="true">
  174. <jaxws:properties>
  175. <entry key="security.encryption.properties" value="bob.properties"/>
  176. <entry key="security.encryption.username" value="bob"/>
  177. <entry key="security.signature.properties" value="alice.properties"/>
  178. <entry key="security.signature.username" value="alice"/>
  179. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  180. </jaxws:properties>
  181. </jaxws:client>
  182. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptedPasswordPort" createdFromAPI="true">
  183. <jaxws:properties>
  184. <entry key="security.encryption.properties" value="bob-enc.properties"/>
  185. <entry key="security.encryption.username" value="bob"/>
  186. <entry key="security.signature.properties" value="alice-enc.properties"/>
  187. <entry key="security.signature.username" value="alice"/>
  188. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  189. </jaxws:properties>
  190. </jaxws:client>
  191. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSHA256Port" createdFromAPI="true">
  192. <jaxws:properties>
  193. <entry key="security.encryption.properties" value="bob.properties"/>
  194. <entry key="security.encryption.username" value="bob"/>
  195. <entry key="security.signature.properties" value="alice.properties"/>
  196. <entry key="security.signature.username" value="alice"/>
  197. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  198. <entry key="ws-security.asymmetric.signature.algorithm" value="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
  199. </jaxws:properties>
  200. </jaxws:client>
  201. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricThumbprintPort" createdFromAPI="true">
  202. <jaxws:properties>
  203. <entry key="security.encryption.properties" value="bob.properties"/>
  204. <entry key="security.encryption.username" value="bob"/>
  205. <entry key="security.signature.properties" value="alice.properties"/>
  206. <entry key="security.signature.username" value="alice"/>
  207. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  208. </jaxws:properties>
  209. </jaxws:client>
  210. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricPKIPathPort" createdFromAPI="true">
  211. <jaxws:properties>
  212. <entry key="security.encryption.properties" value="bob.properties"/>
  213. <entry key="security.encryption.username" value="bob"/>
  214. <entry key="security.signature.properties" value="alice.properties"/>
  215. <entry key="security.signature.username" value="alice"/>
  216. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  217. </jaxws:properties>
  218. </jaxws:client>
  219. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptBeforeSigningPort" createdFromAPI="true">
  220. <jaxws:properties>
  221. <entry key="security.encryption.properties" value="bob.properties"/>
  222. <entry key="security.encryption.username" value="bob"/>
  223. <entry key="security.signature.properties" value="alice.properties"/>
  224. <entry key="security.signature.username" value="alice"/>
  225. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  226. </jaxws:properties>
  227. </jaxws:client>
  228. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptBeforeSigningNoEncPort" createdFromAPI="true">
  229. <jaxws:properties>
  230. <entry key="security.encryption.properties" value="bob.properties"/>
  231. <entry key="security.encryption.username" value="bob"/>
  232. <entry key="security.signature.properties" value="alice.properties"/>
  233. <entry key="security.signature.username" value="alice"/>
  234. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  235. </jaxws:properties>
  236. </jaxws:client>
  237. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptSignaturePort" createdFromAPI="true">
  238. <jaxws:properties>
  239. <entry key="security.encryption.properties" value="bob.properties"/>
  240. <entry key="security.encryption.username" value="bob"/>
  241. <entry key="security.signature.properties" value="alice.properties"/>
  242. <entry key="security.signature.username" value="alice"/>
  243. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  244. </jaxws:properties>
  245. </jaxws:client>
  246. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSignaturePort" createdFromAPI="true">
  247. <jaxws:properties>
  248. <entry key="security.encryption.properties" value="bob.properties"/>
  249. <entry key="security.signature.properties" value="alice.properties"/>
  250. <entry key="security.signature.username" value="alice"/>
  251. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  252. </jaxws:properties>
  253. </jaxws:client>
  254. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSignatureSP11Port" createdFromAPI="true">
  255. <jaxws:properties>
  256. <entry key="security.encryption.properties" value="bob.properties"/>
  257. <entry key="security.signature.properties" value="alice.properties"/>
  258. <entry key="security.signature.username" value="alice"/>
  259. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  260. </jaxws:properties>
  261. </jaxws:client>
  262. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEncryptionPort" createdFromAPI="true">
  263. <jaxws:properties>
  264. <entry key="security.encryption.properties" value="bob.properties"/>
  265. <entry key="security.encryption.username" value="bob"/>
  266. <entry key="security.signature.properties" value="alice.properties"/>
  267. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  268. </jaxws:properties>
  269. </jaxws:client>
  270. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricSignatureEncryptionPort" createdFromAPI="true">
  271. <jaxws:properties>
  272. <entry key="security.encryption.properties" value="bob.properties"/>
  273. <entry key="security.encryption.username" value="bob"/>
  274. <entry key="security.signature.properties" value="alice.properties"/>
  275. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  276. </jaxws:properties>
  277. </jaxws:client>
  278. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricProtectTokensPort" createdFromAPI="true">
  279. <jaxws:properties>
  280. <entry key="security.encryption.properties" value="bob.properties"/>
  281. <entry key="security.encryption.username" value="bob"/>
  282. <entry key="security.signature.properties" value="alice.properties"/>
  283. <entry key="security.signature.username" value="alice"/>
  284. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  285. </jaxws:properties>
  286. </jaxws:client>
  287. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricUsernameTokenPort" createdFromAPI="true">
  288. <jaxws:properties>
  289. <entry key="security.encryption.properties" value="bob.properties"/>
  290. <entry key="security.encryption.username" value="bob"/>
  291. <entry key="security.signature.properties" value="alice.properties"/>
  292. <entry key="security.signature.username" value="alice"/>
  293. <entry key="security.username" value="alice"/>
  294. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  295. </jaxws:properties>
  296. </jaxws:client>
  297. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricEndorsingPort" createdFromAPI="true">
  298. <jaxws:properties>
  299. <entry key="security.encryption.properties" value="bob.properties"/>
  300. <entry key="security.encryption.username" value="bob"/>
  301. <entry key="security.signature.properties" value="alice.properties"/>
  302. <entry key="security.signature.username" value="alice"/>
  303. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  304. </jaxws:properties>
  305. </jaxws:client>
  306. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricUsernameTokenPort" createdFromAPI="true">
  307. <jaxws:properties>
  308. <entry key="security.encryption.properties" value="bob.properties"/>
  309. <entry key="security.encryption.username" value="bob"/>
  310. <entry key="security.username" value="alice"/>
  311. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  312. </jaxws:properties>
  313. </jaxws:client>
  314. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricProtectTokensPort" createdFromAPI="true">
  315. <jaxws:properties>
  316. <entry key="security.encryption.properties" value="bob.properties"/>
  317. <entry key="security.encryption.username" value="bob"/>
  318. </jaxws:properties>
  319. </jaxws:client>
  320. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportEndorsingPort" createdFromAPI="true">
  321. <jaxws:properties>
  322. <entry key="security.signature.properties" value="alice.properties"/>
  323. <entry key="security.signature.username" value="alice"/>
  324. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  325. </jaxws:properties>
  326. </jaxws:client>
  327. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportEndorsingSP11Port" createdFromAPI="true">
  328. <jaxws:properties>
  329. <entry key="security.signature.properties" value="alice.properties"/>
  330. <entry key="security.signature.username" value="alice"/>
  331. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  332. </jaxws:properties>
  333. </jaxws:client>
  334. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSignedEndorsingPort" createdFromAPI="true">
  335. <jaxws:properties>
  336. <entry key="security.signature.properties" value="alice.properties"/>
  337. <entry key="security.signature.username" value="alice"/>
  338. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  339. </jaxws:properties>
  340. </jaxws:client>
  341. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportEndorsingEncryptedPort" createdFromAPI="true">
  342. <jaxws:properties>
  343. <entry key="security.signature.properties" value="alice.properties"/>
  344. <entry key="security.signature.username" value="alice"/>
  345. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  346. </jaxws:properties>
  347. </jaxws:client>
  348. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSignedEndorsingEncryptedPort" createdFromAPI="true">
  349. <jaxws:properties>
  350. <entry key="security.signature.properties" value="alice.properties"/>
  351. <entry key="security.signature.username" value="alice"/>
  352. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  353. </jaxws:properties>
  354. </jaxws:client>
  355. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingSignedPort" createdFromAPI="true">
  356. <jaxws:properties>
  357. <entry key="security.signature.properties" value="alice.properties"/>
  358. <entry key="security.signature.username" value="alice"/>
  359. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  360. </jaxws:properties>
  361. </jaxws:client>
  362. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingSignedCertConstraintsPort" createdFromAPI="true">
  363. <jaxws:properties>
  364. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  365. </jaxws:properties>
  366. </jaxws:client>
  367. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportKVTPort" createdFromAPI="true">
  368. <jaxws:properties>
  369. <entry key="security.signature.properties" value="alice.properties"/>
  370. <entry key="security.signature.username" value="alice"/>
  371. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  372. </jaxws:properties>
  373. </jaxws:client>
  374. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingTokenPort" createdFromAPI="true">
  375. <jaxws:properties>
  376. <entry key="security.encryption.properties" value="bob.properties"/>
  377. <entry key="security.encryption.username" value="bob"/>
  378. <entry key="security.signature.properties" value="alice.properties"/>
  379. <entry key="security.signature.username" value="alice"/>
  380. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  381. </jaxws:properties>
  382. <jaxws:features>
  383. <p:policies>
  384. <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/supp-token-policy.xml"/>
  385. </p:policies>
  386. </jaxws:features>
  387. </jaxws:client>
  388. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportSupportingTokenPort2" createdFromAPI="true">
  389. <jaxws:properties>
  390. <entry key="security.encryption.properties" value="bob.properties"/>
  391. <entry key="security.encryption.username" value="bob"/>
  392. <entry key="security.signature.properties" value="alice.properties"/>
  393. <entry key="security.signature.username" value="alice"/>
  394. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  395. </jaxws:properties>
  396. <jaxws:features>
  397. <p:policies>
  398. <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/clean-policy.xml"/>
  399. </p:policies>
  400. </jaxws:features>
  401. </jaxws:client>
  402. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportPKISupportingTokenPort" createdFromAPI="true">
  403. <jaxws:properties>
  404. <entry key="security.encryption.properties" value="bob.properties"/>
  405. <entry key="security.encryption.username" value="bob"/>
  406. <entry key="security.signature.properties" value="alice.properties"/>
  407. <entry key="security.signature.username" value="alice"/>
  408. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  409. </jaxws:properties>
  410. <jaxws:features>
  411. <p:policies>
  412. <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/supp-token-policy.xml"/>
  413. </p:policies>
  414. </jaxws:features>
  415. </jaxws:client>
  416. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportNegativeEndorsingPort" createdFromAPI="true">
  417. <jaxws:properties>
  418. <entry key="security.encryption.properties" value="bob.properties"/>
  419. <entry key="security.encryption.username" value="bob"/>
  420. <entry key="security.signature.properties" value="alice.properties"/>
  421. <entry key="security.signature.username" value="alice"/>
  422. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  423. </jaxws:properties>
  424. <jaxws:features>
  425. <p:policies>
  426. <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/end-supp-token-policy.xml"/>
  427. </p:policies>
  428. </jaxws:features>
  429. </jaxws:client>
  430. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItTransportNegativeEndorsingPort2" createdFromAPI="true">
  431. <jaxws:properties>
  432. <entry key="security.encryption.properties" value="bob.properties"/>
  433. <entry key="security.encryption.username" value="bob"/>
  434. <entry key="security.signature.properties" value="alice.properties"/>
  435. <entry key="security.signature.username" value="alice"/>
  436. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  437. </jaxws:properties>
  438. <jaxws:features>
  439. <p:policies>
  440. <wsp:PolicyReference xmlns:wsp="http://www.w3.org/ns/ws-policy" URI="classpath:/org/apache/cxf/systest/ws/x509/supp-token-policy.xml"/>
  441. </p:policies>
  442. </jaxws:features>
  443. </jaxws:client>
  444. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItSymmetricSignaturePort" createdFromAPI="true">
  445. <jaxws:properties>
  446. <entry key="security.encryption.properties" value="bob.properties"/>
  447. <entry key="security.encryption.username" value="bob"/>
  448. </jaxws:properties>
  449. </jaxws:client>
  450. <jaxws:client name="{http://www.example.org/contract/DoubleIt}DoubleItAsymmetricPropertiesPort" createdFromAPI="true">
  451. <jaxws:properties>
  452. <entry key="security.encryption.properties" value="bob.properties"/>
  453. <entry key="security.encryption.username" value="bob"/>
  454. <entry key="security.signature.properties" value="alice.properties"/>
  455. <entry key="security.signature.username" value="alice"/>
  456. <entry key="security.callback-handler" value="org.apache.cxf.systest.ws.common.KeystorePasswordCallback"/>
  457. </jaxws:properties>
  458. </jaxws:client>
  459. <http:conduit name="https://localhost:.*">
  460. <http:tlsClientParameters disableCNCheck="true">
  461. <sec:trustManagers>
  462. <sec:keyStore type="jks" password="password" resource="keys/Truststore.jks"/>
  463. </sec:trustManagers>
  464. </http:tlsClientParameters>
  465. </http:conduit>
  466. </beans>