Thanks Zoran! We figured it out, the client told us one of the wrong headers :-/ Thanks for the confirmation that it should work!
Mary Mary Cochran Red Hat Consulting [email protected] (419) 543-0531 On Sat, Jun 24, 2017 at 1:53 PM, Zoran Regvart <[email protected]> wrote: > Hi Mary, > should work just as you described (by setting the `Authorization` > header), perhaps you can try logging the raw request/response to see > if it's set (set `org.apache.http.wire` to `DEBUG`), > > zoran > > On Fri, Jun 23, 2017 at 9:47 PM, Mary Cochran <[email protected]> wrote: > > Does anyone have a suggestion for how I can use camel to call at https > > endpoint and configure the call with a jks file and also use > authorization > > bearer? It works with basic auth for http4s which i use to get the > token, > > but the use of the token with setHeader("Authorization", "Bearer > <token>") > > always gives a 401. It works in SoapUI. > > > > Thanks! > > > > Mary Cochran > > Red Hat Consulting > > [email protected] > > (419) 543-0531 > > > > -- > Zoran Regvart >
