You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:12:41 UTC

[sling-org-apache-sling-security] 03/20: SLING-2141 - Add a way to check the referrer for modification requests

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.security-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-security.git

commit 78f00c6defd88c2c883e08470547191b2eee26fe
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Thu Jul 14 14:00:39 2011 +0000

    SLING-2141 - Add a way to check the referrer for modification requests
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/security@1146719 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/security/impl/ReferrerFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java b/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
index caf935d..9c0cae2 100644
--- a/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
+++ b/src/main/java/org/apache/sling/security/impl/ReferrerFilter.java
@@ -33,7 +33,7 @@ import org.osgi.service.component.ComponentContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@SlingFilter(order=-100000,scope=SlingFilterScope.REQUEST,metatype=true,
+@SlingFilter(order=-1500000000,scope=SlingFilterScope.REQUEST,metatype=true,
         description="%referrer.description",
         label="%referrer.name")
 public class ReferrerFilter implements Filter {

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.