manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erlend Garåsen (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1564) Support preemptive authentication to Solr connector
Date Mon, 28 Jan 2019 16:59:00 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16754141#comment-16754141
] 

Erlend Garåsen commented on CONNECTORS-1564:
--------------------------------------------

Yes, I know, [~michael-o]. :-/

I tried to copy our existing httpd.conf file, but for some reasons I cannot access any web
pages after Apache was started. This is what I can see in my error_log:

{{[Mon Jan 28 16:36:31.641341 2019] [mpm_event:notice] [pid 24718:tid 140039187126080] AH00489:
Apache/2.5.1-dev (Unix) configured -- resuming normal operations}}
{{[Mon Jan 28 16:36:31.646482 2019] [core:notice] [pid 24718:tid 140039187126080] AH00094:
Command line: '/home/erlendfg-drift/httpd/build/bin/httpd'}}

This is what I changed in my copied httpd.conf file:
 * Place the User and Group settings inside a <IfModule unixd_module> block
 * Removed the following: Include conf.modules.d/*.conf  
 * Added the necessary LoadModule lines.

There are probably other things which need to be changes as well, but then I need to read
the 2.5 documentation and spend a lot more time.

> Support preemptive authentication to Solr connector
> ---------------------------------------------------
>
>                 Key: CONNECTORS-1564
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1564
>             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
following:
>  * 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
(v7.6.3#76005)

Mime
View raw message