lemonldap-ng/lemonldap-ng-handler/example/MyHandler.pm

43 lines
1.4 KiB
Perl
Raw Normal View History

package My::Package;
use Lemonldap::NG::Handler::DefaultHandler;
@ISA = qw(Lemonldap::NG::Handler::DefaultHandler);
__PACKAGE__->init(
{
2010-05-05 09:33:20 +02:00
# 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
2010-05-05 09:33:20 +02:00
# 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))
2010-05-05 09:33:20 +02:00
#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 => {
2009-06-29 11:42:44 +02:00
# proxy => 'http://auth.example.com/index.pl/sessions',
# proxyOptions => {
# timeout => 5,
# },
# # If soapserver is protected by HTTP Basic:
# User => 'http-user',
# Password => 'pass',
#},
}
);
1;