I was changing my DSL as following
http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
https://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd";
xmlns:ext="htt
Hi JB,
I'm using Karaf 4.2.7 w/ Camel 3.0.1
Best
Gerald
> Jean-Baptiste Onofre hat am 5. April 2020 06:58
> geschrieben:
>
>
> Hi
>
> I guess the documentation is not aligned with jetty version actually used.
> You are using Karaf 4.2.8 ?
>
> Camel jetty feature uses the jetty version pr
Hi
I guess the documentation is not aligned with jetty version actually used.
You are using Karaf 4.2.8 ?
Camel jetty feature uses the jetty version provided by pax-web/karaf, so the
documentation is not maybe correct for 9.4.22/27.
Regards
JB
> Le 4 avr. 2020 à 10:08, Gerald Kallas a écrit
You just need to install corresponding osgi bundle which has the missing
dependency into the karaf
Just Google around for that particular osgi dependency.
You can use command "osgi:install "
Btw, this question should be posted on forums for fuse or service mix
Cheers
Reji
On Sat, 4 Apr 2020,
Dear community,
I've configured a route as following snippet (following the documentation
https://camel.apache.org/components/latest/jetty-component.html)
http://www.osgi.org/xmlns/blueprint/v1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http:
;Authorization", "Basic " + encoded);
>
> How can i do this with Camel Route ?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5772150.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Kind regards
Joakim Bjørnstad
getEncoder().encodeToString(authBytes);
and i set it in the header like this:
con.setRequestProperty("Authorization", "Basic " + encoded);
How can i do this with Camel Route ?
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p57
authenticationPreemptive=true%26bridgeEndpoint=true%26throwExceptionOnFailure=false"
> >
>
> ===
> I get a 401 ERROR when I use "camel-http"
>
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5758314.html
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
"camel-http" ??
== here is my camel XML DSL ==
POST
application/json
http://camel.465427.n5.nabble.com/HTT
> Cann't we make it for CXF-REST?
>
> Thanks,
> Sayed
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5756392.html
>
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Hello,
Sorry I was referring to the Java Interceptor code above mentioned which
works fine for CXF SOAP.
Cann't we make it for CXF-REST?
Thanks,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5756392.html
Sent from the
Hello,
Thanks a lot for the response.Will try and let you know.
please share a sample code snippet.
However the same code works for me at server side for CXF-SOAP so why not
for CXF-REST ?
Regards,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic
The configuration only work for the client side, if you want to enable the HTTP
Basic Authentication on the server side, you need to setup the Jetty
ServletContextHandler for it.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http
myCxfEp.configureProperties(properties);
from(myCxfEp)
...
I have tested it using SOAPUI doesn't ask for any authentication.
Please suggest ..
Thanks,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5756208.html
Sent from the Camel - Users mailing list archive at Nabble.com.
"/>
Java End Point:
from("cxfrs:http://0.0.0.0:9090?resourceClasses=com.test.Service&bindingStyle=SimpleConsumer";)..
Need a quick solution.
Thanks and Regards,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5756
tion in thread "main"
com.sun.xml.internal.ws.model.RuntimeModelerException: A WebService
annotation is not present on class: in.ns.com.EmployeeDetailsPort
Thanks and regards,
Sayed
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-A
; View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5742348.html
> Sent from the Camel - Users mailing list archive at Nabble.com
> (http://Nabble.com).
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5742354.html
Sent from the Camel - Users mailing list archive at Nabble.com.
les/client/ClientPreemptiveBasicAuthentication.java)
Regards,
Tom
-Original Message-
From: alexey-s [mailto:alex...@mail.ru]
Sent: Dienstag, 29. Oktober 2013 11:47
To: users@camel.apache.org
Subject: Re: HTTP Basic Authentication
You'll be surprised. CXF uses the same library Apache HttpCompone
this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5742348.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I just captured the http request and response and found some thing interesting.
When camel-http send the request to back end server which is protected with
HTTP Basic Authentication,
HttpClient sends a request without Authentication inform first, then it sends
the request with the
I did a quick test with the camel trunk ( I think it’s same with last camel
release 2.12.1), the HTTP Basic Authentication setting is work out of box.
from("direct:endpoint").to("http://localhost:8081?authMethod=Basic&authUsername=user1&authPassword=pwd”);
I think y
with statusCode: 401
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229p5742320.html
Sent from the Camel - Users mailing list archive at Nabble.com.
; *import org.apache.cxf.transport.Conduit;*
> *import org.apache.cxf.ws.addressing.EndpointReferenceType;*
> *import org.apache.log4j.Logger;*
> *import org.springframework.beans.factory.annotation.Required;*
> *
> *
> */***
> * * CXF Interceptor that provides HTTP Basic Authentication validation.*
> * * *
>
org.apache.cxf.message.Message;*
*import org.apache.cxf.transport.Conduit;*
*import org.apache.cxf.ws.addressing.EndpointReferenceType;*
*import org.apache.log4j.Logger;*
*import org.springframework.beans.factory.annotation.Required;*
*
*
*/***
* * CXF Interceptor that provides HTTP Basic Authentication validation
wsman
What is the correct configuration for http basic authentication?
Thanks for any advice.
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5742229.html
Sent from the Camel - Users mailing list archive at Nabble.com.
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 39 in XML document from URL
> [bundle://324.0:0/META-INF/spring/camel-cxf.xml]
> is invalid; nested exception is org.xml.sax.SAXParseException:
> cvc-datatype-valid.1.2.3:
> '{http://es0sreao:8181/mes/bw/MES
itions(XmlBeanDefinitionReader.java:396)[105:org.springframework.beans:3.0.7.RELEASE]
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[105:org.springframework.beans:3.0.7.RELEASE]
*
Could you please let me know what is the exact value to be entered for
--
View thi
Hi Christain.. Could you please guide us with the details of dependencies
added.
Would be really helpful fi you could post the copy of your POM file.
Reji
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-cxf-and-HTTP-BASIC-authentication-tp5716163p5738715.html
Sent from
Camel: https://www.apache.org/foundation/
> Apache Member: https://www.apache.org/foundation/members.html
>
> https://www.linkedin.com/pub/christian-mueller/11/551/642
>
>
> On Tue, Aug 27, 2013 at 9:00 PM, contactreji wrote:
>
>> Hi Christian.. did you get a work around the p
/foundation/members.html
https://www.linkedin.com/pub/christian-mueller/11/551/642
On Tue, Aug 27, 2013 at 9:00 PM, contactreji wrote:
> Hi Christian.. did you get a work around the problem?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/cam
Hi Christian.. did you get a work around the problem?
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-cxf-and-HTTP-BASIC-authentication-tp5716163p5738071.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Thanks for the reply. The problem got resolved after adding
httpClient.authenticationPreemptive=true
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5729500p5729680.html
Sent from the Camel - Users mailing list archive at Nabble.com.
camel http call to handle
> this?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-Basic-Authentication-tp5729500.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
Red Ha
/docs/**client-http-transport-**
>> including-ssl-support.html<http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html>
>> [2]
>> http://chrisdail.com/2008/03/**31/apache-cxf-with-http-basic-**
>> authentication/<http://chrisdail.com/2008/03/31/ap
esn't force me to implement this. May be only a simple
PasswordCallback or so...
[1]
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
[2]
http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/
[3]
http://chrisdail.com/2008/08/13/http-basic-authentic
e.org/docs/client-http-transport-including-ssl-support.htm
> l [2]
> http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/
> [3]
> http://chrisdail.com/2008/08/13/http-basic-authentication-with-apache-cxf-
> revisited/
>
> Best,
> Christian
>
>
e.org/repos/asf/cxf/trunk/rt/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
HTH, Sergey
[1]
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
[2]
http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/
[3]
http://chrisdai
solution in CXF or Jetty
which doesn't force me to implement this. May be only a simple
PasswordCallback or so...
[1]
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
[2]
http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/
[3]
http://chrisdai
Just re-read your message and you have a ServiceMix requirement so Tomcat and
Apache HTTPD wouldn't work.
I saw some blog entries that talks about an interceptor based approach that
might help:
http://chrisdail.com/2008/03/31/apache-cxf-with-http-basic-authentication/
http://chrisdail.com
layer as well.
Thanks,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-cxf-and-HTTP-BASIC-authentication-tp5716163p5716169.html
Sent from the Camel - Users mailing list archive at Nabble.com.
We are in the process of migrating an existing project to Camel.
One of the requirements is to support HTTP BASIC authentication.
What's the (easiest) way to do this?
I thought this could be done by configuring Jetty (in jetty.xml) but didn't
found an example which doesn't use a
ml
Willem
On 9/30/10 7:43 PM, xiaotao183 wrote:
Hi,
I am looking for a way that I could possibly inject the http basic
authentication credential to cxf endpoint to invoke a remote ws which has
http basic authentication enabled.
Here is the
rce.com http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com
-
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-basic-authentication-for-cxf-endpoint-tp3046867p30470
Hi Matteo,
Did you receive my reply mail and try the solution of setting the
message header with the Exchange.HTTP_QUERY just like this ?
from("timer://foo?fixedRate=true&delay=0&period=1")
.setHeader(Exchange.HTTP_QUERY, "username=YOUR_NAME")
.to("http://remoteserver.location/get_user_inf
Hi,
Can you try to set the second username paramerters by setting the
message header with name of Exchange.HTTP_QUERY?
Willem
Matteo Redaelli wrote:
The problem is that I should manage 2 "username" parameters!
1)the first is a query parameter add in the remote url: it will be used to
retre
The problem is that I should manage 2 "username" parameters!
1)the first is a query parameter add in the remote url: it will be used to
retreive info about that user
2) but, for basic authentication, camel also requires a parameter with the
same name "username" ... and the username for the basi
Hi Matteo,
Did you check out this link:
http://camel.apache.org/http.html
It has info on connecting using basic auth. This example show a poll from
google that you can adapt to meet your needs. Below is polls your URL and
then write the result to a file:
from("timer://foo?fixedRate=true&delay
Hello
With camel-http I'd like to retreive an xml document from an url like
http://remoteserver.location/get_user_info.xml?username=matteo
BUT that url requires a basic authentication
where do I have to set basic auth params (username and password) and where
my query parameter "username"?? I
49 matches
Mail list logo