manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bartłomiej Superson (JIRA) <>
Subject [jira] [Commented] (CONNECTORS-642) Need an ElasticSearch plugin for enforcing ManifoldCF security
Date Wed, 29 Apr 2015 14:44:06 GMT


Bartłomiej Superson commented on CONNECTORS-642:

I don't know if it is good place to write it or should I create new issue for it, but I wrote
(based on elasticsearch-mcf-plugin v2.0) working plugin, which you can find here:
. It needs to be tested more, but after first tests it works as I think it should (with all
types of queries). It works properly with Elasticsearch v.1.5.2 and above - there should be
only "u" HTTP query parameter passed with username as a value to obtain filtered results (without
"u" param elasticsearch works as normally). The one only bad thing I've already found about
it is that you cannot pass (or I haven't found it) any HTTP query param when using JavaAPI
to create queries, so to obtain filtered search results using it you should build query in
old way - wrapping it with authorization filter. The good thing is that e.g. JavaScriptAPI
allows to do this. I'm waiting for your comments.

> Need an ElasticSearch plugin for enforcing ManifoldCF security
> --------------------------------------------------------------
>                 Key: CONNECTORS-642
>                 URL:
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: Elastic Search connector
>    Affects Versions: ManifoldCF 1.1
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.2
> ElasticSearch is becoming popular and we need to support it fully.  In order for that
to happen, we really need an ElasticSearch ManifoldCF plugin.

This message was sent by Atlassian JIRA

View raw message