Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Sorj library kerberos authentication without System.property

Highlighted

Sorj library kerberos authentication without System.property

Contributor

Hi ,

 

      We like to know if there any other way to do kerberos authentication for SOLR from java code with out using either System.setproperty or -D parameter during server startup,

 

      We are using below code

 

      System.setProperty("java.security.auth.login.config", "/tmp/jaas_client.conf");
      HttpClientUtil.setConfigurer(new Krb5HttpClientConfigurer());

 

But in our infrastructure using Sytem.setProperty is not allowed. We have tried using UserGroupInfromation from hadoop security but does not work for SOLR.

 

 

Thanks & Regards,

J.Ganesh Kumar.