sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r646684 - /incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java
Date Thu, 10 Apr 2008 08:44:58 GMT
Author: fmeschbe
Date: Thu Apr 10 01:44:56 2008
New Revision: 646684

URL: http://svn.apache.org/viewvc?rev=646684&view=rev
Log:
SLING-360 Change default URI for console to /system/console

Modified:
    incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java

Modified: incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java?rev=646684&r1=646683&r2=646684&view=diff
==============================================================================
--- incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java
(original)
+++ incubator/sling/trunk/osgi/console-web/src/main/java/org/apache/sling/osgi/console/web/internal/servlet/SlingManager.java
Thu Apr 10 01:44:56 2008
@@ -116,6 +116,12 @@
      */
     private static final String PROP_PASSWORD = "password";
 
+    /**
+     * The default value for the {@link #PROP_MANAGER_ROOT} configuration
+     * property (value is "/system/console").
+     */
+    private static final String DEFAULT_MANAGER_ROOT = "/system/console";
+
     private static final Class<?>[] PLUGIN_CLASSES = {
         AjaxConfigManagerAction.class, ComponentConfigurationPrinter.class,
         ComponentRenderAction.class, ConfigManager.class,
@@ -556,7 +562,7 @@
         }
 
         // get the web manager root path
-        webManagerRoot = this.getProperty(config, PROP_MANAGER_ROOT, "/sling");
+        webManagerRoot = this.getProperty(config, PROP_MANAGER_ROOT, DEFAULT_MANAGER_ROOT);
         if (!webManagerRoot.startsWith("/")) {
             webManagerRoot = "/" + webManagerRoot;
         }



Mime
View raw message