camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhemzhitsky Sergey <Sergey_Zhemzhit...@troika.ru>
Subject How to get client sertificate DN in the camel route that uses cxf
Date Mon, 23 May 2011 08:07:51 GMT
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&amp;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
 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message