On Thursday, August 11, 2011 8:43:27 AM Zhemzhitsky Sergey wrote:
> Hi guys,
> 
> The issue is resolved.
> 
> It was necessary to make the bean that represents http conduit abstract.
> 
>     <bean name="https://host:port/.*";
> class="org.apache.cxf.transport.http.HTTPConduit" abstract="true">
> <property name="tlsClientParameters">
>          ....
>    </bean>

Yep.   That's perfect.  :-)

Most of the Spring namespace things CXF use just wrapper a specific CXF class.  
 
If you can find the right class, using <bean> will work fine, just a little 
more verbose and you don't have schema to validate the properties and such.

Dan



> 
> Best Regards,
> Sergey Zhemzhitsky
> Information Technology Division
> Troika Dialog, 4, Romanov lane, Moscow 125009, Russia
> Phone. +7 495 2580500 ext. 1246
> 
> -----Original Message-----
> From: Zhemzhitsky Sergey [mailto:[email protected]] 
> Sent: Thursday, August 11, 2011 12:11 PM
> To: [email protected]
> Subject: How to configure http:conduite without using spring namespaces
> 
> Hi there,
> 
> I have to use vendor-specific keystore type to call an external http
> resource with client-cert authentication. This keystore is located on an
> external usb device and I cannot specify url/file/resource so I decided to
> create custom KeyStoreFactoryBean that allows to create keystores without
> specifying a concrete path to it.
 
> Now I'm wondering whether it is possible to configure HttpConduit in spring
> without using spring namespace handlers to be able to use
> keystores/truststores created by my own?
 
> Best Regards,
> Sergey Zhemzhitsky
> Information Technology Division
> Troika Dialog, 4, Romanov lane, Moscow 125009, Russia Phone. +7 495 2580500
> ext. 1246
 
> 
> _______________________________________________________
> 
> The information contained in this message may be privileged and conf
> idential and protected from disclosure. If you are not the original
> intended recipient, you are hereby notified that any review,
> retransmission, dissemination, or other use of, or taking of any action in
> reliance upon, this information is prohibited. If you have received this
> communication in error, please notify the sender immediately by replying to
> this message and delete it from your computer. Thank you for your
> cooperation. Troika Dialog, Russia. 
 If you need assistance please contact
> our Contact Center  (+7495) 258 0500 or go to
> www.troika.ru/eng/Contacts/system.wbp 
> 
> _______________________________________________________
> 
> The information contained in this message may be privileged and conf
> idential and protected from disclosure. If you are not the original
> intended recipient, you are hereby notified that any review,
> retransmission, dissemination, or other use of, or taking of any action in
> reliance upon, this information is prohibited. If you have received this
> communication in error, please notify the sender immediately by replying to
> this message and delete it from your computer. Thank you for your
> cooperation. Troika Dialog, Russia. 
 If you need assistance please contact
> our Contact Center  (+7495) 258 0500 or go to
> www.troika.ru/eng/Contacts/system.wbp 
-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to