You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/05/15 23:54:59 UTC

[jira] [Commented] (SOLR-7552) Support using ZkCredentialsProvider/ZkACLProvider in custom filter

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

Mark Miller commented on SOLR-7552:
-----------------------------------

+1
Given that this could easily be changed perhaps we should add comments.



> Support using ZkCredentialsProvider/ZkACLProvider in custom filter
> ------------------------------------------------------------------
>
>                 Key: SOLR-7552
>                 URL: https://issues.apache.org/jira/browse/SOLR-7552
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Gregory Chanan
>            Assignee: Gregory Chanan
>         Attachments: SOLR-7552.patch
>
>
> I have a custom authentication filter sitting in front of the SolrDispatchFilter that writes to ZooKeeper via Curator.  Curator has slightly different definitions for ACLProvider and Credentials than the Solr equivalents of ZkACLProvider and ZkCredentialsProvider.  I'd like to just write a wrapper to use the existing Solr definitions, but have hit a couple of scoping issues:
> - The ZkCredentialsProvider getScheme and getAuth functions are at package private scope, so I can't convert them to Curator equivalents
> - The code to read the solr.xml (in order to get the config) is private to the SolrDispatchFilter, and my filter doesn't have access to the SolrDispatchFilter (so that code needs to be static as well).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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