To build Debian package with Wheezy, remove debian/lemonldap-ng-doc.maintscript
file.
For handlers, it is now recommended to migrate to Nginx, but Apache-2.X is still supported
lemonldap-ng.ini
file. If you use Syslog, you must reconfigure it. See logs for more.LLNG portal now embeds the following features:
Now, CDA, ZimbraPreAuth, SecureToken and AuthBasic are Handler Types. So there is no more special file to load: you just have to choose “VirtualHost type” in the manager/VirtualHosts.
$ENV{<cgi_variable>}
is now available everywhere: see Writing rules and headers
Before 2.0, an Ajax query that was launched after session timeout received a 302 code. Now a response 401 is given. The WWW-Authenticate
header contains: SSO <portal-URL>
Portal has now many REST features and includes a plugin API. See Portal manpages to see how to write auth modules, issuers or other feature.
Portal is no more a big CGI object. it is written for Plack/PSGI. Little resume
Portal object | +-> auth module | +-> userDB module | +-> issuer modules | +-> other plugins (notification,...)
The request is a separated object based on Lemonldap::NG::Portal::Main::Request which inherits from Lemonldap::NG::Common::PSGI::Request which inherits from Plack::Request. See manpages for more.
Handler libraries have been totally rewritten. If you've made custom handlers, they must be rewritten, see customhandlers.
If you had auto protected CGI, you also need to rewrite them, see documentation.