I am using search guard on elasticsearch. In my java code i have used Transport client. But I am not able to access index. Exception is
ElasticsearchSecurityException[No user found for indices:data/read/search].
I want to provide username and password with client. Please provide solution to pass username and password.