You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by cestella <gi...@git.apache.org> on 2018/03/20 13:45:09 UTC

[GitHub] metron pull request #960: METRON-1424: Kerberos: Solr

Github user cestella commented on a diff in the pull request:

    https://github.com/apache/metron/pull/960#discussion_r175767522
  
    --- Diff: metron-platform/metron-solr/src/main/java/org/apache/metron/solr/writer/SolrWriter.java ---
    @@ -239,4 +245,12 @@ public void close() throws Exception {
           solr.close();
         }
       }
    +
    +  private boolean isKerberosEnabled(Map stormConfig) {
    +    if (stormConfig == null) {
    +      return false;
    +    }
    +    String value = (String) stormConfig.get("java.security.auth.login.config");
    --- End diff --
    
    Can we make this a constant?


---