cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gritsenko at home" <gritse...@rogers.com>
Subject Re: Realms Challenge
Date Thu, 17 Jan 2002 12:56:59 GMT
Phil,

I am Viktor Gritsenko. There is another guy on the list, Vadim Gritsenko.

Viktor


----- Original Message ----- 
From: "Phil Blake" <phil@tcp.net.au>
To: "Vadim Gritsenko" <vadim.gritsenko@verizon.net>
Cc: <cocoon-users@xml.apache.org>
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. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message