From dev-return-46388-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Fri Aug 15 08:41:35 2003 Return-Path: Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 14802 invoked by uid 500); 15 Aug 2003 08:41:33 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 14779 invoked from network); 15 Aug 2003 08:41:32 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 15 Aug 2003 08:41:32 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19naAh-0003cC-00 for ; Fri, 15 Aug 2003 10:42:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19naAg-0003c4-00 for ; Fri, 15 Aug 2003 10:42:54 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19na9X-0003pp-00 for ; Fri, 15 Aug 2003 10:41:43 +0200 From: Andreas Hartmann Subject: Re: Request URI in FOM [was: Re: How to use input modules in flow] Date: Fri, 15 Aug 2003 10:43:13 +0200 Lines: 22 Message-ID: References: <000101c36288$25d5aaa0$db506bc2@WRPO> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 X-Accept-Language: en-us, en In-Reply-To: <000101c36288$25d5aaa0$db506bc2@WRPO> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Reinhard Pötz wrote: >>The FOM request does not contain a getRequestURI() method. > > Another question: What is your usecase? It's about the administration of users, groups etc. in Lenya. There is an Avalon component AccessControllerResolver which resolves the access controller component that is responsible to protect the current URL: resolveAccessController(String webappUrl) We're using flowscript for the add/delete/modify user/group forms. Usually, an access controller is assigned to a publication, and a publication has an admin area where users/groups etc. can be administrated. Therefore we want to obtain the access controller based on the current URI. Andreas