camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mary Cochran <mcoch...@redhat.com>
Subject Re: https ssl config with authorization bearer
Date Mon, 26 Jun 2017 23:34:05 GMT
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
mcochran@redhat.com
(419) 543-0531

On Sat, Jun 24, 2017 at 1:53 PM, Zoran Regvart <zoran@regvart.com> 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 <mcochran@redhat.com> 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
> > mcochran@redhat.com
> > (419) 543-0531
>
>
>
> --
> Zoran Regvart
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message