You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Sebastian Nagel (Jira)" <ji...@apache.org> on 2023/06/06 12:53:00 UTC

[jira] [Resolved] (NUTCH-2991) Support HTTP/S Header Authorization for Solr connections

     [ https://issues.apache.org/jira/browse/NUTCH-2991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Nagel resolved NUTCH-2991.
------------------------------------
    Resolution: Implemented

Successfully tested. Merged into master. Thanks, [~marcos] !

> Support HTTP/S Header Authorization for Solr connections
> --------------------------------------------------------
>
>                 Key: NUTCH-2991
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2991
>             Project: Nutch
>          Issue Type: New Feature
>          Components: indexer, plugin
>    Affects Versions: 1.19
>            Reporter: Marcos Gomez
>            Priority: Major
>             Fix For: 1.20
>
>         Attachments: solr_token_auth.patch, solr_token_auth_2.patch
>
>
> Currently only Basic Authentication is possible with Solr, but I have an issue to connect to a Solr instance that use Token authentication.
> So it should be possible to define the value of Authorization Header to provide the name and token value, that will be send on the HTTP request to Solr.
> Header:
>  * Authorization: _Name Value_
> So in the configuration should be able to set up something like this to populate the header: 
>  * solr.auth.header.name=Bearer
>  * solr.auth.header.value=JWT_TOKEN
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)