camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sheck, Jacob" <>
Subject RE: CXF SOAP web service - Basic Authentication - username password
Date Thu, 02 Jan 2014 04:18:18 GMT
		<route id="productservice">
			<from uri="cxf:/productservice?bus=#cxf&amp;;wsdlURL=META-INF/wsdl/productservice.wsdl"
			<setProperty propertyName="username">
			<setProperty propertyName="password">
			<setProperty propertyName="incommingBody">
				<simple resultType="">${body}</simple>
			<log loggingLevel="WARN" message="${property.username} ${property.password}" />
<!-- blank log message even though SOAPUI log shows the values being sent-->
			<!-- Authentication -->

-----Original Message-----
From: Willem Jiang [] 
Sent: Wednesday, January 01, 2014 8:59 PM
Subject: Re: CXF SOAP web service - Basic Authentication - username password

Can I have a look at your camel route?
It looks like the Karaf Servlet transport doesn’t put username and password into the message

Willem Jiang

Red Hat, Inc.
Blog: (English) (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem

On January 2, 2014 at 4:39:51 AM, Sheck, Jacob ( wrote:
> I have configured a CXF web service using blueprint, with wsdl2java 
> and it works well.
> > />
> I would like to add http basic authentication, when working with jetty 
> I can get the username and password from the camel headers, and pass 
> the values through my authentication bean. The web service used by cxf 
> and camel in karaf does not expose the username and password this way.
> Could anyone explain, or direct me to an example, of how to get the 
> basic authentication http request header values from a request to a 
> cxf web service in karaf?
> Thank You
> Jacob Sheck
> ________________________________
> CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the 
> intended recipient(s) and may contain confidential and privileged 
> information. Any unauthorized review, use, disclosure or distribution 
> of any kind is strictly prohibited.
> If you are not the intended recipient, please contact the sender via 
> reply e-mail and destroy all copies of the original message.
> Thank you.

View raw message