You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Bartłomiej Superson (JIRA)" <ji...@apache.org> on 2015/04/29 16:44:06 UTC

[jira] [Commented] (CONNECTORS-642) Need an ElasticSearch plugin for enforcing ManifoldCF security

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

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: https://github.com/supersyn/elasticsearch-plugin-mcf . 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: https://issues.apache.org/jira/browse/CONNECTORS-642
>             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
(v6.3.4#6332)