From users-return-79118-apmail-cocoon-users-archive=cocoon.apache.org@cocoon.apache.org Mon May 02 12:42:41 2005 Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 78754 invoked from network); 2 May 2005 12:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 May 2005 12:42:40 -0000 Received: (qmail 74884 invoked by uid 500); 2 May 2005 12:43:49 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 74845 invoked by uid 500); 2 May 2005 12:43:49 -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 74831 invoked by uid 99); 2 May 2005 12:43:49 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ousrvr.oulu.fi (HELO oulu.fi) (130.231.240.1) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 02 May 2005 05:43:49 -0700 Received: from cc.oulu.fi (sun3.oulu.fi [130.231.240.13]) by oulu.fi (8.13.1/8.13.1) with ESMTP id j42CgKI6027912 for ; Mon, 2 May 2005 15:42:20 +0300 (EEST) Received: from [130.231.106.107] (claudius.oulu.fi [130.231.106.107]) by cc.oulu.fi (8.12.10/8.12.10) with ESMTP id j42CgJHr004766 for ; Mon, 2 May 2005 15:42:19 +0300 (EEST) Message-ID: <4276202B.9090309@oulu.fi> Date: Mon, 02 May 2005 15:42:19 +0300 From: Andre Juffer Reply-To: Andre.Juffer@oulu.fi Organization: The University of Oulu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Betr.: authentication-fw References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Peter.Urbanus@mediacenter.nl wrote: > > > > > Andre Juffer wrote on 30-04-2005 14:52:29: > > >>Peter and others, >> >>concerning the authentication resource, I eventually found the following >>in core.log: >> >>DEBUG (2005-04-30) 15:28.26:711 [core.authentication-manager] >>(/sopas/do-login) http-8080-Processor25/PipelineAuthen >>ticator: BEGIN isValidAuthenticationFragment fragment=>version="1.0" encoding="UTF-8"?> > > When the PipelineAuthenticator starts validating the XML fragment, it > prints the entire fragment to the log. So at that point, your entire > fragment is > > and nothing else, no etc. > > Perhaps this helps? Actually, in the log file, there is an empty line just below DEBUG (2005-04-30) 15:28.26:711 [core.authentication-manager] (/sopas/do-login) http-8080-Processor25/PipelineAuthen ticator: BEGIN isValidAuthenticationFragment fragment= While the authenticator definitly returns the correct response (see previous emails), the rest of the document is not available to the PipelineAuthenticator, it apparently just gets the first line. By looking at the source code of PipelineAuthenticator, I thought initially that the should not be there, just the XML itself, but this seems rubbish now. I guess I somehow need to get rid of new lines characters or spaces or whatsoever in the returned XML document, so that the PipelineAuthenticator sees one line only. Maybe that is the solution to this. So, instead of ... I would need to generate ... (this all is one line). What do you think? Thanks, Andre > Regards, > Peter > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > -- Andre H. Juffer | Phone: +358-8-553 1161 The Biocenter and | Fax: +358-8-553-1141 the Dep. of Biochemistry | Email: Andre.Juffer@oulu.fi University of Oulu, Finland | WWW: www.biochem.oulu.fi/Biocomputing/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org