The preemptive authentication with HTTPS does not seem to work with
"Camel-Http"
It works only with "camel-http4"
But I have a limitation on my container ( websphere application server 7.x )
so cannot use "camel-http4" - does anyone know if this should work with
"camel-http" ??
== here is my camel XML DSL ======
<camel:sslContextParameters id="sslContextParameters">
<camel:keyManagers keyPassword="{{ssl.store.pass}}">
<camel:keyStore resource="{{ssl.store.path}}"
password="{{ssl.store.pass}}" />
</camel:keyManagers>
</camel:sslContextParameters>
<setHeader headerName="CamelHttpMethod">
<constant>POST</constant>
</setHeader>
<setHeader headerName="Content-Type">
<constant>application/json</constant>
</setHeader>
<setExchangePattern pattern="InOut" />
<to
uri="https:{{host}}{{auditWs.url}}?sslContextParameters=sslContextParameters%26authUsername={{auditWsAuthUsername}}%26authPassword={{auditWsAuthPassword}}%26authenticationPreemptive=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.