Lemonldap::Handlers::MatrixPolicy - Plugin for Lemonldap sso system
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 .
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
Lemonldap(3), Lemonldap::Portal::Standard
http://lemonldap.sourceforge.net/
``Writing Apache Modules with Perl and C'' by Lincoln Stein & Doug MacEachern - O'REILLY
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 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.