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/11/13 03:13:00 UTC

[jira] [Commented] (JAMES-2905) Authentication for ElasticSearch client

    [ https://issues.apache.org/jira/browse/JAMES-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16972972#comment-16972972 ] 

Benoit Tellier commented on JAMES-2905:
---------------------------------------

https://github.com/linagora/james-project/pull/2832 contributed SSL and authentication for ElasticSearch and is merged.

https://github.com/linagora/james-project/pull/2855 contributes integration tests and trustStore configuration

> 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
>            Priority: Major
>              Labels: feature, newbie
>
> 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