Ji Josef,

On 27/10/06, Josef Karthauser <[EMAIL PROTECTED]> wrote:
> Just started playing with maypole, and I likeee :).

Yeay! It's nice to hear that :)

> So I have a nice CRUD wrapped around my pre-existing database, and
> now I want to bolt some authentication in, so I can pretect it, but
> also so I can start to develop the proper application for my users.
>
> I'm currently developing under the CGI interface, as mod_perl is
> too heavy weight for my requirements at this point in time, and of
> course this is nicely facilitated by use of Maypole::Application.
>
> However, the same mod_perl/CGI/environment abstraction doesn't
> appear to be present in Maypole::Authentication::UserSessionCookie,
> which has a dependency on Apache::Cookie, from mod_perl.  I've also
> found Maypole::Plugin::Authentication::UserSessionCookie which is
> almost identical code, but depends upon CGI::Simple::Cookie instead.

CGI::Cookie is compatible with Apache::Cookie - I think it's almost a
drop in replacement, I recently changed an old maypole 2.10
application to use CGI::Cookie instead of Apache::Cookie and I think
it was 2 lines of code changed by a few characters.

I'm afraid I don't use any of the ready-rolled authentication, as I
can write one by hand quicker and easier than I can jump through the
hoops required for the authentication modules :)

However I was thinking that the maypole request should provide a
standard cookie API, that can then be used by authentication modules,
etc. The authentication modules are a little out of date - none of
them are actively maintained, so it would be good to update them to
use the built in Maypole cookie code once I release 2.12 - which
should be in the next couple of weeks.

In the meantime, it's worth reading the authentication tutorials
available, and building your own, it's usually only takes a little
longer and it means you don't have to rely on 3rd parties keeping up
with Maypole development.

Cheers,

A.

-- 
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Hosting

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Maypole-users mailing list
Maypole-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to