mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-11 07:25:23 +00:00
For LDAP hostname verification, we use the "default" SSLContext, which is cached in a map and re-used. If a secure connection is established then the session is cached for use later. In the tests, we sometimes run a test that connects without hostname verification and a SSL session is cached. Then when the hostname verification test runs, it uses the cached session and does not perform hostname verification causing the test to fail. This fix changes the test to always use a new SSLContext for each test. Closes elastic/elasticsearch#521 Original commit: elastic/x-pack-elasticsearch@46ffed34bb
= Elasticsearch Security Plugin This plugins adds security features to elasticsearch You can build the plugin with `mvn package`. The documentation is put in the `docs/` directory.
Description
Languages
Java
99.5%
Groovy
0.4%