SLING-6285 - comment on the 'LoginAdminWhitelist required' decision

git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1771124 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepositoryManager.java b/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepositoryManager.java
index b3a4770..eaf443c 100644
--- a/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepositoryManager.java
+++ b/src/main/java/org/apache/sling/jcr/base/AbstractSlingRepositoryManager.java
@@ -416,6 +416,10 @@
         });
         this.repoInitializerTracker.open();
 
+        // If allowLoginAdministrativeForBundle is overridden we assume we don't need
+        // a LoginAdminWhitelist service - that's the case if the derived class
+        // implements its own strategy and the LoginAdminWhitelist interface is
+        // not exported by this bundle anyway, so cannot be implemented differently.
         boolean enableWhitelist = !isAllowLoginAdministrativeForBundleOverridden();
         final CountDownLatch waitForWhitelist = new CountDownLatch(enableWhitelist ? 1 : 0);
         if (enableWhitelist) {