title: Does not work NTLM authentication apache camel cxf
body: <p>blueprint:</p>
  <pre><code>&lt;http-conf:conduit name=&quot;*.http-conduit&quot;&gt;
      &lt;http-conf:client 
              ConnectionTimeout=&quot;20000&quot;
              AllowChunking=&quot;false&quot;
              MaxRetransmits=&quot;11&quot;
              Connection=&quot;Keep-Alive&quot;
              ReceiveTimeout=&quot;30000&quot;
              CacheControl=&quot;No-Cache&quot;/&gt;
      &lt;http-conf:authorization&gt;
          &lt;sec:UserName&gt;doman\login&lt;/sec:UserName&gt;
          &lt;sec:Password&gt;pass&lt;/sec:Password&gt;
          &lt;sec:AuthorizationType&gt;NTLM&lt;/sec:AuthorizationType&gt;
      &lt;/http-conf:authorization&gt;
  &lt;/http-conf:conduit&gt;
  
  &lt;camelcxf:cxfEndpoint id=&quot;soap-active&quot;
                        address=&quot;&quot;
                        serviceName=&quot;esbExchange:esbExchange&quot;
                        endpointName=&quot;esbExchange:esbExchangeSoap12&quot;
                        wsdlURL=&quot;wsdl/soap-active.wsdl&quot;&gt;
      &lt;camelcxf:properties&gt;
          &lt;entry key=&quot;dataFormat&quot; value=&quot;PAYLOAD&quot;/&gt;
          &lt;entry key=&quot;mtom-enabled&quot; value=&quot;true&quot;/&gt;
      &lt;/camelcxf:properties&gt;
  &lt;/camelcxf:cxfEndpoint&gt;
  </code></pre>
  <p>and route:</p>
  <pre><code>&lt;from uri=&quot;direct-vm:something&quot;&gt;
  &lt;toD uri=&quot;cxf:bean:soap-active&quot;/&gt;
  </code></pre>
  <p>I get 401 when I try to make a request, i see follow log</p>
  <pre><code>Headers: {AuthorizationType=Basic 0YPQutGG0YPQutGG0YPQutGG0YPQutGG0YPQug== ...
  </code></pre>
  <p>Why do I see basic for NTLM place?
  doc cxf(<a href="https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html" rel="nofollow noreferrer">https://cxf.apache.org/docs/client-http-transport-including-ssl-support.html</a>): NTLM authentication is built into the Java runtime and you don't need to do anything special.</p>
  <p>when i make a service request via CURL I see the correct header</p>
  <p>there is a similar problem but I cannot read it <a href="https://access.redhat.com/solutions/3992921" rel="nofollow noreferrer">https://access.redhat.com/solutions/3992921</a></p>
  <p>apache camel 2.23.2</p>
  <p>cxf 3.2.7</p>
  <p>karaf 4.2</p>
  <p>cxf features list:</p>
  <pre><code>karaf@root()&gt; feature:list | grep cxf
  camel-cxf                                │ 2.23.2           │          │ Started     │ camel-2.23.2                      │
  cxf-specs                                │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-jaxb                                 │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-abdera                               │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  wss4j                                    │ 2.2.2            │          │ Started     │ cxf-3.2.7                         │
  cxf-core                                 │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-commands                             │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-wsdl                                 │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-ws-policy                            │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-ws-addr                              │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-ws-rm                                │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-ws-mex                               │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-ws-security                          │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-rt-security                          │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-rt-security-saml                     │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-http-client                          │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-http                                 │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-http-provider                        │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-http-jetty                           │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-http-async                           │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-http-netty-client                    │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-http-netty-server                    │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-http-undertow                        │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-bindings-soap                        │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-jaxws                                │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-jaxrs                                │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-rs-security-xml                      │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-security-sso-saml                 │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-security-cors                     │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-security-oauth                    │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-security-jose                     │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-security-oauth2                   │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-jackson                              │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-jsr-json                             │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-tracing-brave                        │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-tracing-opentracing                  │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-description-swagger2              │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-rs-description-openapi-v3            │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-databinding-aegis                    │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-databinding-jaxb                     │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-features-clustering                  │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-features-logging                     │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-features-throttling                  │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-features-metrics                     │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-bindings-corba                       │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-bindings-coloc                       │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-transports-local                     │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-transports-jms                       │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-transports-udp                       │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-transports-websocket-client          │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-transports-websocket-server          │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-sse                                  │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-javascript                           │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-frontend-javascript                  │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-xjc-runtime                          │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-tools                                │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf                                      │ 3.2.7            │          │ Started     │ cxf-3.2.7                         │
  cxf-sts                                  │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-wsn-api                              │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-wsn                                  │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-ws-discovery-api                     │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-ws-discovery                         │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-bean-validation-core                 │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-bean-validation                      │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7                         │
  cxf-jaxrs-cdi                            │ 3.2.7            │          │ Uninstalled │ cxf-3.2.7  
  </code></pre>