man Bric::App::AccessHandler () - Handles Authentication and Session setup during the Apache Access phase.

NAME

Bric::App::AccessHandler - Handles Authentication and Session setup during the Apache Access phase.

VERSION

$LastChangedRevision$

DATE

$LastChangedDate: 2004-08-12 17:13:34 -0700 (Thu, 12 Aug 2004) $

SYNOPSIS

  PerlModule Bric::App::AccessHandler    <Location /media>
        SetHandler default-handler
    </Location>

  PerlModule Bric::App::Handler
  PerlFreshRestart    On
  DocumentRoot "/usr/share/bricolage/comp"
  <Directory "/usr/share/bricolage/comp">
      Options Indexes FollowSymLinks MultiViews
      AllowOverride None
      Order allow,deny
      Allow from all
      SetHandler perl-script
      PerlHandler Bric::App::Handler
      PerlAccessHandler Bric::App::AccessHandler
  </Directory>

DESCRIPTION

This module handles the Access phase of an Apache request. It authenticates users to Bricolage, and sets up Session handling.

INTERFACE

Constructors

NONE.

Destructors

NONE.

Public Class Methods

NONE.

Public Functions

Sets up the user session and checks authentication. If the authentication is current, it returns OK and the request continues. Otherwise, it caches the requested URI in the session and returns FORBIDDEN. Throws: NONE. Side Effects: NONE. Notes: NONE. Logs the user out. Throws: NONE. Side Effects: NONE. Notes: NONE. This handler should only be used for the '/login' location of the SSL virtual host. It simply sets up the user session and returns OK. Throws: NONE. Side Effects: NONE. Notes: NONE. Handles errors for the other handlers in this class. Throws: NONE. Side Effects: NONE. Notes: NONE.

PRIVATE

Private Class Methods

NONE.

Private Instance Methods

NONE.

Private Functions

NONE.

NOTES

NONE.

AUTHOR

David Wheeler <david@wheeler.net>

SEE ALSO

Bric