@@ -502,6 +502,7 @@ web.projectsFile = ${baseFolder}/projects.conf
502502# com.gitblit.SalesforceUserService
503503# com.gitblit.WindowsUserService
504504# com.gitblit.PAMUserService
505+ # com.gitblit.HtpasswdUserService
505506#
506507# Any custom user service implementation must have a public default constructor.
507508#
@@ -1233,6 +1234,38 @@ realm.pam.backingUserService = ${baseFolder}/users.conf
12331234# SINCE 1.3.1
12341235realm.pam.serviceName = system-auth
12351236
1237+ # The HtpasswdUserService must be backed by another user service for standard user
1238+ # and team management and attributes. This can be one of the local Gitblit user services.
1239+ # default: users.conf
1240+ #
1241+ # RESTART REQUIRED
1242+ # BASEFOLDER
1243+ # SINCE 1.3.2
1244+ realm.htpasswd.backingUserService = ${baseFolder}/users.conf
1245+
1246+ # The Apache htpasswd file that contains the users and passwords.
1247+ # default: ${baseFolder}/htpasswd
1248+ #
1249+ # RESTART REQUIRED
1250+ # BASEFOLDER
1251+ # SINCE 1.3.2
1252+ realm.htpasswd.userfile = ${baseFolder}/htpasswd
1253+
1254+ # Determines how accounts are looked up upon login.
1255+ #
1256+ # If set to false, then authentication for local accounts is done against
1257+ # the backing user service.
1258+ # If set to true, then authentication will first be checked against the
1259+ # htpasswd store, even if the account appears as a local account in the
1260+ # backing user service. If the user is found in the htpasswd store, then
1261+ # an already existing local account will be turned into an external account.
1262+ # In this case an initial local password is never used and gets overwritten
1263+ # by the externally stored password upon login.
1264+ # default: false
1265+ #
1266+ # SINCE 1.3.2
1267+ realm.htpasswd.overrideLocalAuthentication = false
1268+
12361269# The SalesforceUserService must be backed by another user service for standard user
12371270# and team management.
12381271# default: users.conf
0 commit comments