Hi,
From the route configure, it looks like you are leveraging the OSGi
http service that servicemix provides,
I think you can get the certification from the servlet request, maybe
you need to add customer interceptor into CXF (that could be a question
of CXF) and put it into the message header. Then you use it in camel
route and do some content base route :)
On 5/23/11 4:07 PM, Zhemzhitsky Sergey wrote:
Hi there,
I'm using the latest version of servicemix with its bundled cxf.
Servicemix is configured to use 2-way ssl to authenticate the clients.
What I need is to get the client certificate distinguished name in the camel to
perform routing.
Is it possible to get certificate distinguished name in the camel route?
The configuration looks like this
<cxf:rsServer id="rsServer" address="/ " serviceClass="mycompany.SimpleService">
</cxf:rsServer>
<camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
<route>
<from uri="cxfrs://bean://rsServer?exchangePattern=InOut"/>
<to uri="log://mycompany?level=INFO&showAll=true"/>
<transform>
<constant>Hello World!!!</constant>
</transform>
</route>
</camelContext>
How do I need to configure the cxf?
Best Regards,
Sergey Zhemzhitsky
_______________________________________________________
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
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Connect at CamelOne May 24-26
The Open Source Integration Conference
http://camelone.com