[hibernate-commits] [hibernate/hibernate-search] a3bd00: HSEARCH-2453 Add dedicated configuration options f...

GitHub noreply at github.com
Mon Feb 13 06:22:20 EST 2017


  Branch: refs/heads/5.6
  Home:   https://github.com/hibernate/hibernate-search
  Commit: a3bd00c77be98185681bcdd06244eca309b3eaae
      https://github.com/hibernate/hibernate-search/commit/a3bd00c77be98185681bcdd06244eca309b3eaae
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-02-13 (Mon, 13 Feb 2017)

  Changed paths:
    M documentation/src/main/asciidoc/elasticsearch-integration.asciidoc
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/ElasticsearchEnvironment.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/JestClient.java

  Log Message:
  -----------
  HSEARCH-2453 Add dedicated configuration options for Elasticsearch authentication

Authentication was already possible, but a bit painful, since you had to
include the username and password in the host URLs. Which meant
repeating it over and over again when using multiple URLs, and also
meant you had to URL-encode the username and password yourself.

Tests are not included, because it's a pain to automate the setup of
authentication on the ES instance used for tests. Also, I'm quite sure
we can't do it with an embedded version of ES, and I don't even know if
the licensing terms would allow it (the Shield plugin is subject to a
commercial license).

To test manually, see:
https://www.elastic.co/blog/getting-started-with-elasticsearch-ssl-native-authentication


  Commit: 363099b291d2d9ce88eb5bec550283e5418ceea1
      https://github.com/hibernate/hibernate-search/commit/363099b291d2d9ce88eb5bec550283e5418ceea1
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-02-13 (Mon, 13 Feb 2017)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/client/impl/JestClient.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java

  Log Message:
  -----------
  HSEARCH-2453 Warn users when using Elasticsearch authentication over plain HTTP


  Commit: bbfa7a97ee5dd3814c82a83e89e4d86445969f8d
      https://github.com/hibernate/hibernate-search/commit/bbfa7a97ee5dd3814c82a83e89e4d86445969f8d
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-02-13 (Mon, 13 Feb 2017)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/cfg/ElasticsearchEnvironment.java

  Log Message:
  -----------
  HSEARCH-2453 Clarify some ES configuration options have to be prefixed with "hibernate.search.default."


Compare: https://github.com/hibernate/hibernate-search/compare/4fb0a9345541...bbfa7a97ee5d


More information about the hibernate-commits mailing list