lemonldap-ng/lemonldap-ng-handler/example/MyHandler.pm
David COUTADEUR f993e2e6dd - Merging branch lemonldap-ng-experimental/Handler-Mouse with with trunk
code impacted:
 * lemonldap-ng-handler/*: handler code,
 * lemonldap-ng-handler/example/*.pm: handler aliases to libraries,
 * _example/etc/*.conf: virtual host templates
(references #630, #LEMONLDAP-386)
2014-03-04 16:07:32 +00:00

43 lines
1.4 KiB
Perl

package My::Package;
use Lemonldap::NG::Handler::DefaultHandler;
@ISA = qw(Lemonldap::NG::Handler::DefaultHandler);
__PACKAGE__->init(
{
# WARNING:
# all args inserted here must be the same for all handlers launched on
# the same Apache server even if they inherits from different classes
# (SympaAutoLogin,...)
# ACCESS TO CONFIGURATION
# By default, Lemonldap::NG uses the default lemonldap-ng.ini file to
# know where to find is configuration
# (generaly /etc/lemonldap-ng/lemonldap-ng.ini)
# You can specify by yourself this file :
#configStorage => { confFile => '/path/to/my/file' },
# You can also specify directly the configuration
# (see Lemonldap::NG::Handler::DefaultHandler(3))
#configStorage => {
# type => 'File',
# dirName => '/usr/local/lemonldap-ng/data/conf/'
#},
# OTHERS
# You can also overload any parameter issued from manager
# configuration. Example:
#globalStorage => 'Lemonldap::NG::Common::Apache::Session::SOAP',
#globalStorageOptions => {
# proxy => 'http://auth.example.com/index.pl/sessions',
# proxyOptions => {
# timeout => 5,
# },
# # If soapserver is protected by HTTP Basic:
# User => 'http-user',
# Password => 'pass',
#},
}
);
1;