Hi Vivian,

Of course, the servicemix-cxf-bc component is based on CXF.

The busCfg attribute allows you to define a CXF bus configuration file used by the component to construct the internal CXF bus.

You can find the CXF bus configuration doc here:
http://cwiki.apache.org/CXF20DOC/bus-configuration.html

The CXF bus is the backbone of the architecture. It allows you to manage the extension and configuration of CXF.

Regards
JB

Madesclair Vivian wrote:
Hello,

Btw, is there any documentation about this busCfg? What is it? What does it do? 
What are the possible values?

Google almost only provide forum messages.

Regards,
Vivian


-----Message d'origine-----
De : Jean-Baptiste Onofré [mailto:[email protected]] Envoyé : mercredi 16 septembre 2009 08:43
À : [email protected]
Objet : Re: Basic Auth on a CXF-BC consumer

Hi Jim,

no you can add authentication by configuration via the busCfg attribute.

You can use a xbean.xml like this:

<cxfbc:provider wsdl="classpath:my.wsdl"
        locationURI="http://0.0.0.0:8192/my";
        service="my"
        endpoint="endpoint"
        busCfg="basic_auth.xml"/>

where basic_auth.xml looks like:
<http:conduit>
        <http:authorization>
                <sec:UserName>user</sec:UserName>
                <sec:Password>password</sec:Password>
        </http:authorization>
</http:conduit>

Regards
JB

Jim Talbut wrote:
Hi,
I need to proxy web services with an almost identical web service that offers additional facilities.
One of the additional facilities is HTTP basic authentication.
To try to be clear: the actual implementation of the web service has no 
authentication, but the web service used by clients must have it.
I can't find any way to configure the CXF BC to do this.
The book Open Source ESBs in Action describes a code way to do it - is this the 
only option?
Thanks Jim

Reply via email to