2006-12-18 12:32:33 +01:00
|
|
|
package My::Package;
|
2006-12-19 21:55:23 +01:00
|
|
|
use Lemonldap::NG::Handler::SharedConf;
|
|
|
|
@ISA = qw(Lemonldap::NG::Handler::SharedConf);
|
2006-12-18 12:32:33 +01:00
|
|
|
|
2008-12-25 21:06:23 +01:00
|
|
|
__PACKAGE__->init(
|
|
|
|
{
|
|
|
|
|
|
|
|
# ACCESS TO CONFIGURATION
|
|
|
|
|
|
|
|
# By default, Lemonldap::NG uses the default storage.conf file to know
|
|
|
|
# where to find is configuration
|
|
|
|
# (generaly /etc/lemonldap-ng/storage.conf)
|
|
|
|
# You can specify by yourself this file :
|
2009-06-29 13:29:52 +02:00
|
|
|
#configStorage => { confFile => '/path/to/my/file' },
|
2008-12-25 21:06:23 +01:00
|
|
|
|
|
|
|
# You can also specify directly the configuration
|
|
|
|
# (see Lemonldap::NG::Handler::SharedConf(3))
|
|
|
|
#configStorage => {
|
|
|
|
# type => 'File',
|
2009-06-29 13:29:52 +02:00
|
|
|
# directory => '/usr/local/lemonldap-ng/conf/'
|
2008-12-25 21:06:23 +01:00
|
|
|
#},
|
|
|
|
|
|
|
|
# STATUS MODULE
|
|
|
|
# Uncomment this to activate status module:
|
|
|
|
#status => 1,
|
|
|
|
|
|
|
|
# REDIRECTIONS
|
|
|
|
# You have to set this to explain to the handler if runs under SSL
|
|
|
|
# or not (for redirections after authentications). Default is true.
|
|
|
|
https => 0,
|
|
|
|
|
|
|
|
# You can also fix the port (for redirections after authentications)
|
|
|
|
#port => 80,
|
|
|
|
|
2009-06-10 22:47:57 +02:00
|
|
|
# CROSS-DOMAIN
|
|
|
|
# If your handler is not on the same domain than the portal, uncomment
|
|
|
|
# this (and don't forget to set "cda => 1" in the portal
|
|
|
|
#cda => 1,
|
|
|
|
|
2008-12-25 21:06:23 +01:00
|
|
|
# CUSTOM FUNCTION
|
|
|
|
# If you want to create customFunctions in rules, declare them here:
|
|
|
|
#customFunctions => 'function1 function2',
|
|
|
|
#customFunctions => 'Package::func1 Package::func2',
|
|
|
|
|
|
|
|
# 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',
|
2008-12-25 21:06:23 +01:00
|
|
|
# proxyOptions => {
|
|
|
|
# timeout => 5,
|
|
|
|
# },
|
|
|
|
# # If soapserver is protected by HTTP Basic:
|
|
|
|
# User => 'http-user',
|
|
|
|
# Password => 'pass',
|
|
|
|
#},
|
|
|
|
}
|
|
|
|
);
|
2008-05-09 22:50:27 +02:00
|
|
|
1;
|