You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by jk...@apache.org on 2019/12/03 15:59:39 UTC

[unomi] branch es7-basic-authentication-support updated: UNOMI-225: add missing config props in custom.system.properties on ES7 authentication

This is an automated email from the ASF dual-hosted git repository.

jkevan pushed a commit to branch es7-basic-authentication-support
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/es7-basic-authentication-support by this push:
     new 9d92d6a  UNOMI-225: add missing config props in custom.system.properties on ES7 authentication
9d92d6a is described below

commit 9d92d6a460afaa3ee25a616c2d7430ea1d32e491
Author: Kevan <ke...@jahia.com>
AuthorDate: Tue Dec 3 16:59:23 2019 +0100

    UNOMI-225: add missing config props in custom.system.properties on ES7 authentication
---
 package/src/main/resources/etc/custom.system.properties | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/package/src/main/resources/etc/custom.system.properties b/package/src/main/resources/etc/custom.system.properties
index f964cb9..47196ce 100644
--- a/package/src/main/resources/etc/custom.system.properties
+++ b/package/src/main/resources/etc/custom.system.properties
@@ -82,6 +82,14 @@ org.apache.unomi.elasticsearch.bulkProcessor.bulkActions=${env:UNOMI_ELASTICSEAR
 org.apache.unomi.elasticsearch.bulkProcessor.bulkSize=${env:UNOMI_ELASTICSEARCH_BULK_SIZE:-5MB}
 org.apache.unomi.elasticsearch.bulkProcessor.flushInterval=${env:UNOMI_ELASTICSEARCH_BULK_FLUSHINTERVAL:-5s}
 org.apache.unomi.elasticsearch.bulkProcessor.backoffPolicy=${env:UNOMI_ELASTICSEARCH_BULK_BACKOFFPOLICY:-exponential}
+# Authentication
+# Supported authentication types: NONE, BASIC, SSL
+org.apache.unomi.elasticsearch.authenticationType=${env:UNOMI_ELASTICSEARCH_AUTHENTICATION_TYPE:-NONE}
+# Basic auth configuration:
+org.apache.unomi.elasticsearch.basicAuthUsername=${env:UNOMI_ELASTICSEARCH_BASIC_AUTHENTICATION_USERNAME:-}
+org.apache.unomi.elasticsearch.basicAuthPassword=${env:UNOMI_ELASTICSEARCH_BASIC_AUTHENTICATION_PASSWORD:-}
+# SSL auth configuration
+org.apache.unomi.elasticsearch.sslAuthTrustAllCertificates=${env:UNOMI_ELASTICSEARCH_SSL_AUTHENTICATION_TRUST_ALL:-false}
 
 #######################################################################################################################
 ## Service settings                                                                                                  ##
@@ -158,7 +166,7 @@ org.apache.unomi.shell.sshIdleTimeOut=${env:UNOMI_SHELL_SSHIDLETIMEOUT:-1800000}
 org.apache.unomi.shell.hostKey=${env:UNOMI_SHELL_HOSTKEY:-${karaf.etc}/host.key}
 #
 # The format used for hostKey.
-#�Possible values are simple (Karaf internal), or PEM (OpenSSH format)
+#�Possible values are simple (Karaf internal), or PEM (OpenSSH format)
 #
 org.apache.unomi.shell.hostKeyFormat=${env:UNOMI_SHELL_HOSTKEYFORMAT:-simple}