Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 62564 invoked from network); 7 May 2004 16:02:55 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 May 2004 16:02:55 -0000 Received: (qmail 21666 invoked by uid 500); 7 May 2004 15:46:18 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 21594 invoked by uid 500); 7 May 2004 15:46:17 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 21561 invoked from network); 7 May 2004 15:46:16 -0000 Received: from unknown (HELO um0007.unimaas.nl) (137.120.1.7) by daedalus.apache.org with SMTP; 7 May 2004 15:46:16 -0000 Received: by um0007.unimaas.nl (Postfix, from userid 3003) id F01CA4F613; Fri, 7 May 2004 14:19:05 +0200 (CEST) Received: from mail002.unimaas.nl (mail002.unimaas.nl [137.120.1.32]) by um0007.unimaas.nl (Postfix) with ESMTP id BCF274F9F2 for ; Fri, 7 May 2004 14:19:04 +0200 (CEST) Received: by mail002.unimaas.nl with Internet Mail Service (5.5.2653.19) id ; Fri, 7 May 2004 14:19:04 +0200 Message-ID: From: H.vanderLinden@MI.unimaas.nl To: users@cocoon.apache.org Subject: RE: HELP! LOSING authentication from session context! Date: Fri, 7 May 2004 14:19:03 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-UM-Spam-DCC: : X-UM-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on um0007.unimaas.nl X-UM-Spam-Level: X-UM-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00, MANY_EXCLAMATIONS,NO_REAL_NAME autolearn=no version=2.63 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N AAARGH that was it! Thanks for pointing to it, I must have overlooked about a dozen times. :-( Bye, Helma > -----Original Message----- > From: John Spackman [mailto:john.spackman@zenesis.com] > Sent: Friday, 07 May 2004 12:04 > To: users@cocoon.apache.org > Subject: RE: HELP! LOSING authentication from session context! > > > AFAIK, the authentication context is only available inside > the action protecting a page - which means that all pages > must be explicitly protected. You can protect multiple pages > within a single protection action, and there is an example in > the docs > (http://cocoon.apache.org/2.1/developing/webapps/authenticatio > n.html in the section "Pipeline Patterns") on how to do it. > I haven't started using it yet, but reading the list I > believe there is a restriction where the protection can only > happen in the sitemap that declares the authentication > handler - if you try to use it in a subsitemap you get an > error saying it doesn't exist, and if you re-declare it then > your users have to log in all over again. > > Does anyone know if that's fixed yet, or is it still a TODO? > This is something I really need support for RSN so if it's > not done, please can someone tell me give me some hints on > what to do and I'll get onto it? > > John > > -----Original Message----- > From: H.vanderLinden@MI.unimaas.nl > [mailto:H.vanderLinden@MI.unimaas.nl] > > Sent: 07 May 2004 11:39 > To: users@cocoon.apache.org > Subject: RE: HELP! LOSING authentication from session context! > > > Oops, noticed an error in the subject. Hope this makes it clearer. > > Bye, Helma > > > -----Original Message----- > > From: H.vanderLinden@MI.unimaas.nl > > [mailto:H.vanderLinden@MI.unimaas.nl] > > Sent: Friday, 07 May 2004 11:04 > > To: users@cocoon.apache.org > > Subject: HELP! using authentication from session context! > > > > > > Hi, > > > > could someone please help? I built the authentication along > the lines > > of the various examples, but using flow scripts instead of actions. > > All this works well and a section is added to the > > session context. I retrieve this with > context="authentication" path="/"/> and a session transformer. > > > > All this works well... until I suddenly get to a different > page and an > > error comes along stating that the "authentication" context is no > > longer available! I cannot figure out what happens. It does happen > > with the same pages everytime, but some of them follow the same > > pattern as others that don't have this problem. > > > > More specific: > > I log in, I get a page to search for a person, login info > is displayed > > (correct), I select several other pages in the menu list > and they are > > also correctly displayed. > > > > I log in, I get a page to search for a person, login info > is displayed > > (correct), I select "about" or "news" and I get the above > error. If I > > press "back" and select one of the above pages, they are displayed > > correctly. > > > > I log in, I get a page to search for a person, login info > is displayed > > (correct), I enter info and press submit, I get the above error. > > > > > > Bye, > > > > Helma van der Linden > > Medical Informatics > > University Maastricht > > POBOX 616 > > 6200 MD Maastricht > > The Netherlands > > h.vanderlinden@mi.unimaas.nl > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > > For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org