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: [email protected]
For additional commands, e-mail: [email protected]