Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

AxKit::App::TABOO::Handler::Login
Straight mod_perl handler to authenticate a user in TABOO

AxKit::App::TABOO::Handler::Login - Straight mod_perl handler to authenticate a user in TABOO


NAME

AxKit::App::TABOO::Handler::Login - Straight mod_perl handler to authenticate a user in TABOO


SYNOPSIS


  # 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"


DESCRIPTION

This is a straight mod_perl handler to do the authentication in TABOO. It has come into being after having struggled with the Apache::AxKit::Plugin::Session manpage and the AxKit::XSP::BasicSession manpage 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.


TODO

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 the Apache::AxKit::Plugin::Session manpage going.


SEE ALSO

the AxKit::App::TABOO::AddXSLParams::Session manpage


FORMALITIES

See the AxKit::App::TABOO manpage.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy