Author: fmeschbe
Date: Tue Jun 18 13:12:44 2013
New Revision: 1494129
URL: http://svn.apache.org/r1494129
Log:
CMS commit to sling by fmeschbe
Modified:
sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext
Modified: sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext?rev=1494129&r1=1494128&r2=1494129&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext
(original)
+++ sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext Tue
Jun 18 13:12:44 2013
@@ -3,7 +3,10 @@ Title: Servlet Filter Support
Sling supports filter processing by applying filter chains to the requests
before actually dispatching to the servlet or script for processing. Filters to
be used in such filter processing are plain OSGi services of type
`javax.servlet.Filter` which of course means that the services implement this
interface.
<div class="note">
-See [SLING-1213](https://issues.apache.org/jira/browse/SLING-1213),
[SLING-1734|https://issues.apache.org/jira/browse/SLING-1734], and [Registering
filters with Sling|http://markmail.org/message/quxhm7d5s6u66crr] for more
details.
+See <a href="https://issues.apache.org/jira/browse/SLING-1213">SLING-1213</a>,
+<a href="https://issues.apache.org/jira/browse/SLING-1734">SLING-1734</a>, and
+<a href="http://markmail.org/message/quxhm7d5s6u66crr">Registering filters
with Sling</a>
+ for more details.
</div>
For Sling to pick up a `javax.servlet.Filter` service for filter processing
two service registration properties are inspected:
@@ -80,7 +83,6 @@ The request traces provided at `/system/
### Config Status plugin
The configuration status page at `/system/console/config` includes the current
list of active filters in its *Servlet Filters* category, as in this example:
-<DIV class="code panel" style="border-style: solid;border-width: 1px;"><DIV
class="codeHeader panelHeader" style="border-bottom-width:
1px;border-bottom-style: solid;"><B>Config Status plugin info</B></DIV><DIV
class="codeContent panelContent">
Current Apache Sling Servlet Filter Configuration
Request Filters:
@@ -100,7 +102,7 @@ The configuration status page at `/syste
Component Filters:
-200 : class some.package.SomeComponentFilter (2583)
-</DIV>
+
The first numbers on those lines are the filter priorities, and the last
number in parentheses is the OSGi service ID.