Open anurag321 opened 10 years ago
Hi, I have done the following steps:
Yes,I aslo meet those questionl; The auth only worked serverl minutes,and then you can search without any token. #elasticsearch 1.3.4#
I think that you need to create constraints: https://github.com/codelibs/elasticsearch-auth#content-constraints
thank you @marevol :+1: ,It works:)
I have set up the following code: curl -XPUT "localhost:9200/_auth/account" -d "{\"authenticator\":\"index\",\"username\" : \"testuser\", \"password\" : \"test123\", \"roles\" : [\"user\", \"admin\"]}"
But even after this basic http://localhost:9200/_search works and does not ask for authentication.
Please help.