- NAME
- DESCRIPTION

- Overlay

- SEE ALSO
- COPYRIGHT AND LICENSE

# Lemonldap::Handlers::MatrixPolicy

# NAME

        Lemonldap::Handlers::MatrixPolicy  - Plugin  for Lemonldap sso system

# DESCRIPTION

     MatrixPolicy is the default authorization manager  of lemonldap  websso framework .
     This module uses matrix (hash with two dimensions) in order to grant access or deny  on ressource.
     The first axial line is given by ATTRLDAP (or Majeur) the  second axial line is LDAPCONTROL (Mineur) parameter.

     see http://lemonldap.sf.net for more infos .

## Overlay

If you wat use your own autorization method you must use PLUGINPOLICY parameter like this : in httpd.conf : perlsetvar lemonldappluginpolicy MyModule

     Your module must accept  2 parameters : config (all the hash of config ) and session (all hash of session)
     Your module must provide the 'get' method  and provide 'response' and 'profil' data object.

      response may content : 0  : no session (time out)
                             403: deny access by rules
                             503: deny access for all (service not available)
      profil may content : string of role

# SEE ALSO

Lemonldap(3), Lemonldap::Portal::Standard

http://lemonldap.sourceforge.net/

``Writing Apache Modules with Perl and C'' by Lincoln Stein & Doug MacEachern - O'REILLY

Eric German, <germanlinux@yahoo.fr>
Isabelle Serre, <isabelle.serre@justice.gouv.fr>

# COPYRIGHT AND LICENSE

Copyright (C) 2004 by Eric German & Isabelle Serre

Lemonldap originaly written by Eric german who decided to publish him in 2003 under the terms of the GNU General Public License version 2.

This package is under the GNU General Public License, Version 2.
The primary copyright holder is Eric German.
Portions are copyrighted under the same license as Perl itself.
Portions are copyrighted by Doug MacEachern and Lincoln Stein. This library is under the GNU General Public License, Version 2.
Portage under Apache2 is made with help of : Ali Pouya and Shervin Ahmadi (MINEFI/DGI)

      This program is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published by
      the Free Software Foundation; version 2 dated June, 1991.

      This program is distributed in the hope that it will be useful,
      but WITHOUT ANY WARRANTY; without even the implied warranty of
      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      GNU General Public License for more details.

      A copy of the GNU General Public License is available in the source tree;
      if not, write to the Free Software Foundation, Inc.,
      59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.