manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Commented] (CONNECTORS-1564) Support preemptive authentication to Solr connector
Date Wed, 30 Jan 2019 02:19:00 GMT


Karl Wright commented on CONNECTORS-1564:

[~erlendfg], are you in a position to build MCF and experiment with how the HttpClient is
constructed in  I suspect that what is happening is that the expect/continue
is indeed being set but something that is later done to the builder is turning it back off
again.  So I would suggest adding a log.debug("httpclientbuilder = "+httpClientBuilder) line
in there before we actually use the builder to construct the client, to see if this is the
case, and if so, try to figure out which addition is causing the flag to be flipped back.

> Support preemptive authentication to Solr connector
> ---------------------------------------------------
>                 Key: CONNECTORS-1564
>                 URL:
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Lucene/SOLR connector
>            Reporter: Erlend GarĂ¥sen
>            Assignee: Karl Wright
>            Priority: Major
>         Attachments: CONNECTORS-1564.patch
> We should post preemptively in case the Solr server requires basic authentication. This
will make the communication between ManifoldCF and Solr much more effective instead of the
>  * Send a HTTP POST request to Solr
>  * Solr sends a 401 response
>  * Send the same request, but with a "{{Authorization: Basic}}" header
> With preemptive authentication, we can send the header in the first request.

This message was sent by Atlassian JIRA

View raw message