LLNG provides Perl libraries that can be easily used by inheritance. To launch them:
with Apache: replace simply Lemonldap::NG::Handler by your own package in Apache configuration file
with Nginx: since 1.9.7, you can declare them as follow.
Use custom handler with Nginx
Three actions are needed:
declare them in the manager "General Parameters >> Advanced Parameters >> Custom handlers (Nginx)". Key is the name that will be used below and value is the name of the custom package,
in your Nginx configuration file, add LLTYPE=<name>; in the location = /lmauth {...} paragraph
restart FastCGI server(s) (reload is not enough here)