Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 7747 invoked from network); 9 Jan 2006 12:15:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Jan 2006 12:15:30 -0000 Received: (qmail 4506 invoked by uid 500); 9 Jan 2006 12:15:17 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 4448 invoked by uid 500); 9 Jan 2006 12:15:16 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 4437 invoked by uid 99); 9 Jan 2006 12:15:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2006 04:15:16 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [195.13.58.165] (HELO caraldi.com) (195.13.58.165) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2006 04:15:15 -0800 Received: from vision.anyware (10.21.96-84.rev.gaoland.net [84.96.21.10]) by caraldi.com (Postfix) with ESMTP id F20F460E9 for ; Mon, 9 Jan 2006 13:14:51 +0100 (CET) Received: by vision.anyware (Postfix, from userid 1021) id 0B07E61FE; Mon, 9 Jan 2006 13:14:52 +0100 (CET) Date: Mon, 9 Jan 2006 13:14:52 +0100 From: Jean-Baptiste Quenot To: dev@cocoon.apache.org Subject: Re: Access to the AuthenticationContext Message-ID: <20060109121452.GE40450@vision.anyware> Mail-Followup-To: dev@cocoon.apache.org References: <20060109104751.GC40450@vision.anyware> <000001c61513$b857c6c0$16b2a8c0@blackdragon> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000001c61513$b857c6c0$16b2a8c0@blackdragon> Organization: Anyware Technologies -- http://anyware-tech.com/ User-Agent: mutt-ng/devel-r581 (FreeBSD) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N * Stefan Pietschmann: > | You can also use the ��session-context�� input module to retrieve > | the piece of information more nicely: > > I would actually call this like > getInputModuleAttribute(manager,"session-context","/authentication/id")? And > it would return the id? Yes, quite: getInputModuleAttribute(manager,"session-context","authentication/authentication/id") > Even if so, I don't always have the full xpath and have to search for the > node, which would be kinda hard this way. You can use an XPath expression like: getInputModuleAttribute(manager,"session-context","//id") Best regards, -- Jean-Baptiste Quenot Syst�mes d'Information ANYWARE TECHNOLOGIES Tel : +33 (0)5 61 00 52 90 Fax : +33 (0)5 61 00 51 46 http://www.anyware-tech.com/