Return-Path: X-Original-To: apmail-sling-commits-archive@www.apache.org Delivered-To: apmail-sling-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35BB317E70 for ; Tue, 3 Feb 2015 12:41:51 +0000 (UTC) Received: (qmail 18073 invoked by uid 500); 3 Feb 2015 12:41:52 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 18011 invoked by uid 500); 3 Feb 2015 12:41:52 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 18001 invoked by uid 99); 3 Feb 2015 12:41:52 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2015 12:41:52 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id AED28AC003E; Tue, 3 Feb 2015 12:41:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1656709 - /sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext Date: Tue, 03 Feb 2015 12:41:51 -0000 To: commits@sling.apache.org From: asanso@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150203124151.AED28AC003E@hades.apache.org> Author: asanso Date: Tue Feb 3 12:41:51 2015 New Revision: 1656709 URL: http://svn.apache.org/r1656709 Log: SLING-4294 - Servlet Filter Support adding sling.filter.pattern support * adding site documentation 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=1656709&r1=1656708&r2=1656709&view=diff ============================================================================== --- sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext (original) +++ sling/site/trunk/content/documentation/the-sling-engine/filters.mdtext Tue Feb 3 12:41:51 2015 @@ -16,6 +16,7 @@ For Sling to pick up a `javax.servlet.Fi | Property | Type | Default Value | Valid Values | Description | |--|--|--|--|--| | `sling.filter.scope` | `String`, `String[]({{ refs..path }})` or `Vector` | `request` | `REQUEST`, `INCLUDE`, `FORWARD`, `ERROR`, `COMPONENT` | Indication of which chain the filter should be added to. This property is required. If it is missing from the service, the service is ignored because it is assumed another consumer will be interested in using the service. Any unknown values of this property are also ignored causing the service to be completely ignored if none of the values provided by the property are valid. See below for the description of the filter chains. | +| `sling.filter.pattern` | `String`| `` | Any `String` value | The regular expression pattern to register filter with | | `service.ranking` | `Integer` | `0` | Any `Integer` value | Indication of where to place the filter in the filter chain. The higher the number the earlier in the filter chain. This value may span the whole range of integer values. Two filters with equal `service.ranking` property value (explicitly set or default value of zero) will be ordered according to their `service.id` service property as described in section 5.2.5, Service Properties, of the OSGi Core Specification R 4.2. |