cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: Simpleton Sitemap question
Date Fri, 02 Jun 2000 18:29:18 GMT
Giacomo Pati wrote:
> 
> David Duddleston wrote:
> >
> > > -----Original Message-----
> > > From: Neeme Praks [mailto:neeme@one.lv]
> > > Sent: Thursday, June 01, 2000 1:49 PM
> > > To: cocoon-dev@xml.apache.org
> > > Subject: RE: Simpleton Sitemap question
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Stefano Mazzocchi [mailto:stefano@apache.org]
> > > > Sent: Wednesday, May 31, 2000 12:38 PM
> > > >
> > > > Good question.
> > > >
> > > > The sitemap will allow you to "mimic" a complete web serving
> > > > environment. In fact, you could map your own web site root to
> > > > Cocoon and
> > > > let it handle the whole thing, including static files, redirection and
> > > > authorization (authentication will be done at web server or servlet
> > > > engine level).
> >
> > Many Web Apps still use Form based authentication controlled by the Web
> > Application and not the servlet container, so it might be a good idea to
> > allow this. Especialy if the Cocoon sitemap is going to be the primary
> > controller/director.
> 
> Please read the Servlet 2.2. spec. which we have commited to at "11.6
> Server Tracking of Authentication Information". There you see why it is
> better to leave authentication at the container level.
> 
> If "Many Web Apps" still use their own Form based authentication it's
> almost because there was no infrastructure available to do this at the
> container level when those apps where written.
> 
> And because there are so many different possibilities to do
> authentication we shuld leave it to the container and not reimplement
> our own.

Total +1

And +1 for everything that reduces the code we have to write :)

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------
 Missed us in Orlando? Make it up with ApacheCON Europe in London!
------------------------- http://ApacheCon.Com ---------------------



Mime
View raw message