From eb1264b0944cfc0ac951c62239cc5a85428088e0 Mon Sep 17 00:00:00 2001 From: Alfred Schmid <A.Schmid@ff-muenchen.de> Date: Wed, 19 Feb 2014 11:04:16 -0500 Subject: [PATCH] Basic implementation of feature for ldap user synchronization as background service. Introduced configuration property to configure the synchronization period. --- src/main/distrib/data/gitblit.properties | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/main/distrib/data/gitblit.properties b/src/main/distrib/data/gitblit.properties index 482a835..d1b0e4b 100644 --- a/src/main/distrib/data/gitblit.properties +++ b/src/main/distrib/data/gitblit.properties @@ -1508,6 +1508,16 @@ # If left blank, false is assumed realm.ldap.synchronizeUsers.enable = false +# Defines the period to be used when synchronizing users from ldap. This is currently +# only used for LDAP user synchronization. +# +# Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS' +# <long> is at least 5 Minutes if lower values are given the default is used. +# default: 5 MINUTES +# +# RESTART REQUIRED +realm.ldap.synchronizeUsers.ldapSyncPeriod = 5 MINUTES + # Defines whether to delete non-existent LDAP users from the backing user service # during synchronization. depends on realm.ldap.synchronizeUsers.enable = true # -- Gitblit v1.9.1