Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 98892 invoked by uid 500); 17 Jan 2002 18:49:58 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Delivered-To: moderator for cocoon-users@xml.apache.org Received: (qmail 71005 invoked from network); 17 Jan 2002 12:59:51 -0000 Message-ID: <000f01c19f56$734e4e00$0201a8c0@slnt.phub.net.cable.rogers.com> From: "Gritsenko at home" To: References: <70452BBF-0AE9-11D6-BF27-003065A85E10@tcp.net.au> Subject: Re: Realms Challenge Date: Thu, 17 Jan 2002 07:56:59 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Authentication-Info: Submitted using SMTP AUTH LOGIN at fep03-mail.bloor.is.net.cable.rogers.com from [24.102.24.99] using ID at Thu, 17 Jan 2002 07:59:50 -0500 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Phil, I am Viktor Gritsenko. There is another guy on the list, Vadim Gritsenko. Viktor ----- Original Message ----- From: "Phil Blake" To: "Vadim Gritsenko" Cc: Sent: Wednesday, January 16, 2002 8:27 PM Subject: Re: Realms Challenge > Hi Vadim, > > I've spent the morning reading through the servlet specification and > only found the well known Request class that will give me the user > (getRemoteUser()) after they have already been authenticated. Can't find > anything about actually getting the browser to present the > username/password challenge. > > I'm guessing that I need to get hold of some tomcat class from within my > custom cocoon classes that allows me to specify realms, and provide > authentication info for validating users. > > Can anyone think of any of the classes involved to narrow my search? > > I'm guessing that this has been done perhaps a million or two times > before, so I'm wondering why it's so hard to find examples or why no-one > seems to know how to do it. It seems like a classic case to be included > in the cocoon examples. There is a protected area example but it's > really just another form example. Perhaps the protected area example in > cocoon could be updated to demonstrate basic realm authentication. > > I've had to implement this kind of thing once before using 'jigsaw' but > jigsaw's internal security was specific to jigsaw so its no help to me > now, worse luck. :) Still, I'm guessing that it will be something > similar in tomcat. > > If there's someone who has achieved basic realm authentication from > within cocoon, is it possible to get an example or some advice on which > API to look at? > > Thanks again. Have fun, > > Phil > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: