summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorAlfred Schmid <A.Schmid@ff-muenchen.de>2014-02-03 10:30:58 +0100
committerJames Moger <james.moger@gitblit.com>2014-02-19 11:04:16 -0500
commit03c0191b65c68dc6be3da0e0056bcb3cbc6e9cef (patch)
treef90653aadeefe530f5b44b6cfccab6a5e27c4c3c /src/main
parente072ae6def010f86be4ffd2df2592e31c2a85377 (diff)
downloadgitblit-03c0191b65c68dc6be3da0e0056bcb3cbc6e9cef.tar.gz
gitblit-03c0191b65c68dc6be3da0e0056bcb3cbc6e9cef.zip
Added logging for empty group sync.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/gitblit/auth/LdapAuthProvider.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/auth/LdapAuthProvider.java b/src/main/java/com/gitblit/auth/LdapAuthProvider.java
index b2084595..8d5f2140 100644
--- a/src/main/java/com/gitblit/auth/LdapAuthProvider.java
+++ b/src/main/java/com/gitblit/auth/LdapAuthProvider.java
@@ -439,6 +439,7 @@ public class LdapAuthProvider extends UsernamePasswordAuthenticationProvider {
}
private void getEmptyTeamsFromLdap(LDAPConnection ldapConnection) {
+ logger.info("Start fetching empty teams form ldap.");
String groupBase = settings.getString(Keys.realm.ldap.groupBase, "");
String groupMemberPattern = settings.getString(Keys.realm.ldap.groupEmptyMemberPattern, "(&(objectClass=group)(!(member=*)))");
@@ -457,6 +458,7 @@ public class LdapAuthProvider extends UsernamePasswordAuthenticationProvider {
}
}
}
+ logger.info("Finished fetching empty teams form ldap.");
}
private TeamModel createTeamFromLdap(SearchResultEntry teamEntry) {