AxKit::App::TABOO::Handler::Login - Straight mod_perl handler to authenticate a user in TABOO
# in httpd.conf PerlModule AxKit::App::TABOO::Handler::Login <Location /login> SetHandler perl-script PerlHandler AxKit::App::TABOO::Handler::Login PerlSendHeader On </Location> PerlSetVar TABOODataStore DB_File PerlSetVar TABOOArgs "FileName => /tmp/taboodemo-session"
This is a straight mod_perl handler to do the authentication in TABOO. It has come into being after having struggled with Apache::AxKit::Plugin::Session and AxKit::XSP::BasicSession and will simply give the user a cookie if the password matches, and set the username and the authorisation level in the session. Not my preferred way of doing things, but it shall have to do for now.
The session datastore uses Session and can be configured like that module, see the above example.
This does something as atrocious as returning a HTML document directly. I tried returning something to transform with XSLT, but will have to find a better solution. I tried with an AxKit Provider too, but that segfaulted on me.
I'd really like to get Apache::AxKit::Plugin::Session going.