Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 9DB50200827 for ; Sun, 15 May 2016 14:09:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9C26E1609AD; Sun, 15 May 2016 12:09:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E4936160968 for ; Sun, 15 May 2016 14:09:04 +0200 (CEST) Received: (qmail 4107 invoked by uid 500); 15 May 2016 12:09:03 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 4096 invoked by uid 99); 15 May 2016 12:09:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 May 2016 12:09:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9BA62C06CB for ; Sun, 15 May 2016 12:09:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 12cedOyjwPea for ; Sun, 15 May 2016 12:09:00 +0000 (UTC) Received: from thor.wissensbank.com (thor.wissensbank.com [81.169.250.120]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id E2EFC5F1B3 for ; Sun, 15 May 2016 12:08:59 +0000 (UTC) Received: from thor.wissensbank.com (localhost [127.0.0.1]) by thor.wissensbank.com (Postfix) with ESMTP id 0CC9315A60D19 for ; Sun, 15 May 2016 14:08:52 +0200 (CEST) Received: by thor.wissensbank.com (Postfix, from userid 500) id B293A15A60F08; Sun, 15 May 2016 14:08:51 +0200 (CEST) Received: from [192.168.245.129] (8.150.14.62.static.jazztel.es [62.14.150.8]) (Authenticated sender: andre.warnier@ice-sa.com) by thor.wissensbank.com (Postfix) with ESMTPA id D8F6B15A60D19 for ; Sun, 15 May 2016 14:08:50 +0200 (CEST) Subject: Re: using filter on web.xml To: users@tomcat.apache.org References: From: =?UTF-8?Q?Andr=c3=a9_Warnier_=28tomcat=29?= Message-ID: <573866E8.1080708@ice-sa.com> Date: Sun, 15 May 2016 14:09:12 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP archived-at: Sun, 15 May 2016 12:09:05 -0000 On 15.05.2016 13:58, Francesco Viscomi wrote: > Hi all, > I've declared a filter in web.xm as: > > > ShibbolethHeaderReaderFilter > ShibbolethHeaderReaderFilter > IdPC > > > it.loset.idpcp.ri.filters.ShibbolethHeaderReaderFilterIdpc > > > configurationFile > > resources/shibboleth-spp-config.xml > > > > > ShibbolethHeaderReaderFilter > /protected/* > > > > > > where it.loset.idpcp.ri.filters.ShibbolethHeaderReaderFilterIdpc > is a jar file that i don't know the source; > > > Now i do i call as: > http://localhost:8080/srlo/protected/login.html > > and i get HTTP Status 404 the resource is not available. > > > > > My question is, why the filter do not activated: in the url the is the word > protect and the mapping of the filter is > /protected/* > I don't know the details of it, and not much at all about Shibollet, but usually in an authentication scenario which involves a login page to authenticate a user, one would not include the login page in question, in the area that is protected by the authentication. This would ususally result in an endless logic loop. Think about it. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org