]> source.dussan.org Git - gitblit.git/commitdiff
Added logging for empty group sync.
authorAlfred Schmid <A.Schmid@ff-muenchen.de>
Mon, 3 Feb 2014 09:30:58 +0000 (10:30 +0100)
committerJames Moger <james.moger@gitblit.com>
Wed, 19 Feb 2014 16:04:16 +0000 (11:04 -0500)
src/main/java/com/gitblit/auth/LdapAuthProvider.java

index b20845957ed2ad2ae34f9504933e681b00ec1280..8d5f2140293400348e964f8c7bf42248e495b7fd 100644 (file)
@@ -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) {