Return-Path: Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: (qmail 19781 invoked from network); 27 Jan 2009 17:51:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jan 2009 17:51:27 -0000 Received: (qmail 40741 invoked by uid 500); 27 Jan 2009 17:51:23 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 40717 invoked by uid 500); 27 Jan 2009 17:51:23 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 40670 invoked by uid 99); 27 Jan 2009 17:51:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2009 09:51:23 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jan 2009 17:51:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B8B8E234C4A7 for ; Tue, 27 Jan 2009 09:50:59 -0800 (PST) Message-ID: <1722529727.1233078659755.JavaMail.jira@brutus> Date: Tue, 27 Jan 2009 09:50:59 -0800 (PST) From: "Howard M. Lewis Ship (JIRA)" To: commits@tapestry.apache.org Subject: [jira] Commented: (TAP5-476) Have a common handler/filter pipeline for both component event and page render requests, to make it easier to add filters that apply to both types of requests In-Reply-To: <2011906442.1233070739789.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TAP5-476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667735#action_12667735 ] Howard M. Lewis Ship commented on TAP5-476: ------------------------------------------- To me "is logged on" is an application-specific concept that I don't want to hard code. Further, it quickly grows from two states (anonymous or logged-in) to multiple states (what roles or privileges does the user have). > Have a common handler/filter pipeline for both component event and page render requests, to make it easier to add filters that apply to both types of requests > -------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: TAP5-476 > URL: https://issues.apache.org/jira/browse/TAP5-476 > Project: Tapestry 5 > Issue Type: New Feature > Components: tapestry-core > Affects Versions: 5.1.0.0 > Reporter: Howard M. Lewis Ship > > Currently, if you want to put a filter in place that afects both types of request, you have to a contribute a ComponentEventRequestFilter to the ComponentEventRequestHandler service, and a nearly identical PageRenderRequestFilter to the PageRenderRequestHandler service. > It would be nice if there was a service that acted as a facade around the two existing pipelines. The terminator of that pipeline could forward the request into one of the two existing pipelines. > The common example of this is a "is logged in" filter that sends a redirect if the user is not logged in; you want to do this for both types of requests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.