prosody: introduce AUTH_TYPE

It simplifies selecting the desired authentication type, instead of
having a boolean for each.
This commit is contained in:
Saúl Ibarra Corretgé
2019-05-04 14:52:35 +02:00
parent 9ff3ce295c
commit 8da61612e9
5 changed files with 38 additions and 32 deletions

View File

@@ -62,13 +62,12 @@ TZ=Europe/Amsterdam
# Enable guest access.
#ENABLE_GUESTS=1
# Select authentication type: internal, jwt or ldap
#AUTH_TYPE=internal
# JWT auuthentication
#
# Enable authentication via JWT tokens.
#JWT_ENABLE_TOKEN_AUTH=1
# Application identifier.
#JWT_APP_ID=my_jitsi_app_id
@@ -85,10 +84,6 @@ TZ=Europe/Amsterdam
# LDAP authentication (for more information see the Cyrus SASL saslauthd.conf man page)
#
# Enable LDAP authentication in prosody via SASL mechanism.
# Note: turn on ENABLE_AUTH for get it work.
#ENABLE_LDAP_AUTH=1
# LDAP url for connection.
#LDAP_URL=ldaps://ldap.domain.com/