LLNG provides Perl libraries that can be easily used by inheritance. So you can write your own handlers but you need first to understand Handler architecture
Wrapper usually look at this:
package Lemonldap::NG::Handler::ApacheMP2::MyType; use base 'Lemonldap::NG::Handler::ApacheMP2::Main', 'Lemonldap::NG::Handler::Lib::MyType'; 1;
You can enable it either:
vhostType
“select” declaration (file lemonldap-ng-manager/lib/Lemonldap/NG/Build/Attributes
) and rebuild LLNGLLNG provides 3 platforms:
If you want to add another, you must write:
lemonldap-ng-handler/lib/Lemonldap/NG/Handler/ApacheMP2
file for example)Lemonldap::NG::Handler::MyPlatform::Main
) that provides required method (see lemonldap-ng-handler/lib/Lemonldap/NG/Handler/*/Main
for examples) and inherits from Lemonldap::NG::Handler::Main
Wrapper usually look at this:
package Lemonldap::NG::Handler::MyPlatform::AuthBasic; use base 'Lemonldap::NG::Handler::MyPlatform::Main', 'Lemonldap::NG::Handler::Lib::AuthBasic'; 1;
Three actions are needed:
LLTYPE=<name>;
in the location = /lmauth {…}
paragraph