Re: 3 questions...

2003-08-21 Thread Sonny Sukumar
Billard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 3 questions... Date: Thu, 21 Aug 2003 09:59:29 +0200 Hi Andrew, I realized that I didn't wrote that my concern is about a wrong authentication : no session is created, and so your component, using the

Re: 3 questions...

2003-08-21 Thread Olivier Billard
Ok, thanks very much for the information, Sonny ! -- Olivier On 21/08/2003 10:05, Sonny Sukumar wrote: From: Olivier Billard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 3 questions... Date: Thu, 21 Aug 2003 09:50:59 +0200 Hi Sonny, Your anwser woul

Re: 3 questions...

2003-08-21 Thread Sonny Sukumar
From: Olivier Billard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 3 questions... Date: Thu, 21 Aug 2003 09:50:59 +0200 Hi Sonny, Your anwser would work if it was after a successfull authentication ;)... But no session is created when the authenti

Re: 3 questions...

2003-08-21 Thread Olivier Billard
Hi Andrew, I realized that I didn't wrote that my concern is about a wrong authentication : no session is created, and so your component, using the session, won't work. Am I right ? I want to give a detailed feedback to the user trying to authenticate : "login does not exist", "wrong password",

Re: 3 questions...

2003-08-21 Thread Olivier Billard
ing to is here: http://cocoon.apache.org/2.1/developing/webapps/authentication.html Hth, Sonny From: Olivier Billard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 3 questions... Date: Wed, 20 Aug 2003 15:06:00 +0200 Hi Andrew, I have a little question about

Re: 3 questions...

2003-08-20 Thread Andrew Timberlake
Olivier The following is an extract from a component I wrote in which I access the UserContext. This code retrieves the UserHandler and then gets a DocumentFragment of the contents of the data element which I then process further using standard DOM methods. I hope this helps a bit. SessionManager

Re: 3 questions...

2003-08-20 Thread Sonny Sukumar
o is here: http://cocoon.apache.org/2.1/developing/webapps/authentication.html Hth, Sonny From: Olivier Billard <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: 3 questions... Date: Wed, 20 Aug 2003 15:06:00 +0200 Hi Andrew, I have a little question about

Re: 3 questions...

2003-08-20 Thread Olivier Billard
Hi Andrew, I have a little question about retrieving the "data" tag content. How could you get the content ? It seems that there is no corresponding output module, and when I set a serializer instead of the classic to view the content, I have the following error : "You must set a generator fir

Re: 3 questions...

2003-08-20 Thread Sonny Sukumar
From: Andrew Timberlake <[EMAIL PROTECTED]> Sonny Try walking the programming logic. Starting with org.apache.cocoon.webapps.authentication.acting.LoginAction and follow how cocoon deals with each step of the process. One thing to watch out for is when you get code such as manager.lookup(XXX.

Re: 3 questions...

2003-08-20 Thread Andrew Timberlake
Sonny Try walking the programming logic. Starting with org.apache.cocoon.webapps.authentication.acting.LoginAction and follow how cocoon deals with each step of the process. One thing to watch out for is when you get code such as manager.lookup(XXX.Role) this is referencing an Interface to whic

Re: 3 questions...

2003-08-20 Thread Sonny Sukumar
info below for me...it *is* proving helpful. See couple questions below... Sonny Sukumar wrote: [2 of these questions I sent a couple days ago but got no reply and haven't figured them out. They pertain to Cocoon's Authentication Framework. Thanks.] These 3 questions are bas

Re: 3 questions...

2003-08-19 Thread Andrew Timberlake
d them out. They pertain to Cocoon's Authentication Framework. Thanks.] These 3 questions are based on this doc: http://cocoon.apache.org/2.1/developing/webapps/authentication.html 1.) The doc states "If the authentication is successful, a session object is created on the server

3 questions...

2003-08-19 Thread Sonny Sukumar
[2 of these questions I sent a couple days ago but got no reply and haven't figured them out. They pertain to Cocoon's Authentication Framework. Thanks.] These 3 questions are based on this doc: http://cocoon.apache.org/2.1/developing/webapps/authentication.html 1.) The doc stat