incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r1200924 - /sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/AnonymousAccessConfigServlet.java
Date Fri, 11 Nov 2011 16:02:52 GMT
Author: justin
Date: Fri Nov 11 16:02:51 2011
New Revision: 1200924

URL: http://svn.apache.org/viewvc?rev=1200924&view=rev
Log:
SLING-2274 - getting configuration regardless of bundle binding

Modified:
    sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/AnonymousAccessConfigServlet.java

Modified: sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/AnonymousAccessConfigServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/AnonymousAccessConfigServlet.java?rev=1200924&r1=1200923&r2=1200924&view=diff
==============================================================================
--- sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/AnonymousAccessConfigServlet.java
(original)
+++ sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/AnonymousAccessConfigServlet.java
Fri Nov 11 16:02:51 2011
@@ -68,7 +68,7 @@ public class AnonymousAccessConfigServle
         String action = request.getParameter("action");
         if ("disable".equals(action)) {
             int existingModifiedCounter = modifiedCounter;
-            Configuration config = configAdmin.getConfiguration(AUTH_PID);
+            Configuration config = configAdmin.getConfiguration(AUTH_PID, null);
             Dictionary props = config.getProperties();
             if (props == null) {
                 props = new Hashtable();
@@ -78,7 +78,7 @@ public class AnonymousAccessConfigServle
             waitForModified(existingModifiedCounter, TIMEOUT);
         } else if ("enable".equals(action)) {
             int existingModifiedCounter = modifiedCounter;
-            Configuration config = configAdmin.getConfiguration(AUTH_PID);
+            Configuration config = configAdmin.getConfiguration(AUTH_PID, null);
             Dictionary props = config.getProperties();
             if (props == null) {
                 props = new Hashtable();



Mime
View raw message