incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1337343 - /sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
Date Fri, 11 May 2012 19:31:21 GMT
Author: bdelacretaz
Date: Fri May 11 19:31:21 2012
New Revision: 1337343

URL: http://svn.apache.org/viewvc?rev=1337343&view=rev
Log:
SLING-2472 - add info to RequestProgressTracker when a path is not authorized for execution

Modified:
    sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java

Modified: sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java?rev=1337343&r1=1337342&r2=1337343&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
(original)
+++ sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
Fri May 11 19:31:21 2012
@@ -582,6 +582,11 @@ public class SlingServletResolver implem
                     LOGGER.debug("Servlet {} found using absolute resource type {}", RequestUtil.getServletName(servlet),
                                     type);
                 }
+            } else {
+                request.getRequestProgressTracker().log(
+                        "Will not look for a servlet at {0} as it is not in the list of allowed
paths",
+                        type
+                        );
             }
         }
         if ( servlet == null ) {



Mime
View raw message