You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Mark Borner <ma...@zurich.com.au> on 2011/06/17 09:18:57 UTC

Camel CXF & Basic HTTP Authentication

Hi all:

Does anyone have an example of using Camel CXF with Basic HTTP 
Authentication?  I need to do it on the client & server side.

Thanks,
Mark

Mark Borner
Java Developer - ZStream Xpress

----
This email is intended for the named recipient only. It may contain 
information which is confidential, commercially sensitive, or 
copyright. If you are not the intended recipient you must not 
reproduce or distribute any part of the email, disclose its contents, 
or take any action in reliance. If you have received this email in 
error, please contact the sender and delete the message. It is your 
responsibility to scan this email and any attachments for viruses and 
other defects. To the extent permitted by law, Zurich and its 
associates will not be liable for any loss or damage arising in any 
way from this communication including any file attachments. We may 
monitor email you send to us, either as a reply to this email or any 
email you send to us, to confirm our systems are protected and for 
compliance with company policies. Although we take reasonable 
precautions to protect the confidentiality of our email systems, we 
do not warrant the confidentiality or security of email or 
attachments we receive.

Re: Camel CXF & Basic HTTP Authentication

Posted by Christian Schneider <ch...@die-schneider.net>.
I have written an example of using spring security together with camel 
cxf to do basic authentication and role based authorization using 
annotations.
The example shows how to achieve this for tomcat and osgi (Karaf).

https://github.com/Talend/tif/tree/master/examples/spring-security

Christian


Am 17.06.2011 09:18, schrieb Mark Borner:
>
> Hi all:
>
> Does anyone have an example of using Camel CXF with Basic HTTP 
> Authentication?  I need to do it on the client & server side.
>
> Thanks,
> Mark
>
> Mark Borner
> Java Developer - ZStream Xpress
>

-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com


Re: Camel CXF & Basic HTTP Authentication

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I guess the source code for camel-cxf has unit tests, there may be some for
authentication.

You can also check the FuseSource security guide
http://fusesource.com/products/enterprise-servicemix/#documentation

And the CXF web site has details about configuring authentication
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html


On Fri, Jun 17, 2011 at 9:18 AM, Mark Borner <ma...@zurich.com.au>wrote:

>
> Hi all:
>
> Does anyone have an example of using Camel CXF with Basic HTTP
> Authentication?  I need to do it on the client & server side.
>
> Thanks,
> Mark
>
> Mark Borner
> Java Developer - ZStream Xpress
>
>
>
>
> ----
> This email is intended for the named recipient only. It may contain
> information which is confidential, commercially sensitive, or
> copyright. If you are not the intended recipient you must not
> reproduce or distribute any part of the email, disclose its contents,
> or take any action in reliance. If you have received this email in
> error, please contact the sender and delete the message. It is your
> responsibility to scan this email and any attachments for viruses and
> other defects. To the extent permitted by law, Zurich and its
> associates will not be liable for any loss or damage arising in any
> way from this communication including any file attachments. We may
> monitor email you send to us, either as a reply to this email or any
> email you send to us, to confirm our systems are protected and for
> compliance with company policies. Although we take reasonable
> precautions to protect the confidentiality of our email systems, we
> do not warrant the confidentiality or security of email or
> attachments we receive.
>
>


-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/