[hibernate-commits] [hibernate/hibernate-search] ea6d23: HSEARCH-2453 Add dedicated configuration options f...
GitHub
noreply at github.com
Mon Feb 13 06:06:39 EST 2017
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: ea6d23e35114302ba15e3d4cad497d7be874d6ca
https://github.com/hibernate/hibernate-search/commit/ea6d23e35114302ba15e3d4cad497d7be874d6ca
Author: Yoann Rodière <yoann at hibernate.org>
Date: 2017-02-10 (Fri, 10 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: 1c9ea15a388282e1f24397a81452416838d7168b
https://github.com/hibernate/hibernate-search/commit/1c9ea15a388282e1f24397a81452416838d7168b
Author: Yoann Rodière <yoann at hibernate.org>
Date: 2017-02-10 (Fri, 10 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: 6ab0a684b83475127676add8760bb04ecc709d1f
https://github.com/hibernate/hibernate-search/commit/6ab0a684b83475127676add8760bb04ecc709d1f
Author: Yoann Rodière <yoann at hibernate.org>
Date: 2017-02-10 (Fri, 10 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/d006272645f2...6ab0a684b834
More information about the hibernate-commits
mailing list