lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <j...@apache.org>
Subject [jira] [Closed] (SOLR-2240) Basic authentication for stream.url
Date Sun, 21 May 2017 21:19:04 GMT

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

Jan Høydahl closed SOLR-2240.
-----------------------------
    Resolution: Won't Fix

> Basic authentication for stream.url
> -----------------------------------
>
>                 Key: SOLR-2240
>                 URL: https://issues.apache.org/jira/browse/SOLR-2240
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 4.0-ALPHA
>            Reporter: Jayendra Patil
>            Priority: Minor
>         Attachments: SOLR-2240.patch
>
>
> We intend to use stream.url for indexing documents from remote locations exposed through
http.
> However, the remote urls are secured and would need basic authentication to be able access
the documents.
> The current implementation for stream.url in ContentStreamBase.URLStream does not support
authentication.
> The implementation with stream.file would mean to download the files to a local box and
would cause duplicity, whereas stream.body would have indexing performance issues with the
hugh data being transferred over the network.
> An approach would be :-
> 1. Passing additional authentication parameter e.g. stream.url.auth with the encoded
authentication value - SolrRequestParsers
> 2. Setting Authorization request property for the Connection - ContentStreamBase.URLStream
>     this.conn.setRequestProperty("Authorization", "Basic " + encodedauthentication);
> Any thoughts ??



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message