Reply
Highlighted
Contributor
Posts: 70
Registered: ‎01-19-2017

Sorj library kerberos authentication without System.property

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.

Announcements