You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2019/10/01 03:19:00 UTC
[jira] [Created] (JAMES-2905) Authentication for ElasticSearch
client
Benoit Tellier created JAMES-2905:
-------------------------------------
Summary: Authentication for ElasticSearch client
Key: JAMES-2905
URL: https://issues.apache.org/jira/browse/JAMES-2905
Project: James Server
Issue Type: Improvement
Components: configuration, elasticsearch
Affects Versions: 3.4.0
Reporter: Benoit Tellier
Currently, ElasticSearch configuration does not allow to pass user credentials and setup authentication.
Authentication is much wanted for operational reasons.
In order to do so:
- Add a Credential object (username and password) + pass it as an optional field of ElasticSearchConfiguration
- ClientProvider needs to set up authentication if configured so. Check https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.3/_basic_authentication.html
An integration test on this could be welcomed as well.
https://www.elastic.co/guide/en/elasticsearch/reference/6.3/security-api-put-user.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org