Bryan Bende created NIFI-5148:
---------------------------------

             Summary: Solr processors failing to authenticate against 
Kerberized Solr
                 Key: NIFI-5148
                 URL: https://issues.apache.org/jira/browse/NIFI-5148
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: Bryan Bende
            Assignee: Bryan Bende


It appears that with the new default value of "useSubjectCredsOnly=true" in 
NiFi's bootstrap.conf that this can cause an issue for the Solr processors when 
talking to a kerberized Solr.

The SolrJ client code that we are using specifically calls this out as being 
problematic:

[https://github.com/apache/lucene-solr/blob/branch_6x/solr/solrj/src/java/org/apache/solr/client/solrj/impl/Krb5HttpClientConfigurer.java#L75-L88]

We should refactor the kerberos approach in the Solr processors to resolve this 
issue and make general improvements. We should be performing a JAAS login and 
wrapping calls in Subject.doAs, and we should try and move away from the system 
level JAAS property and leverage the new keytab controller service.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to