Lasso error with AuthChoice
When configuring AuthChoice with some modules (but not SAML), we have this in error log:
{panel} [Tue Oct 01 14:31:26 2013] [debug] CGI.pm(103): Lemonldap::NG::Portal::SharedConf: No authentication choice done, or wrong choice Lasso.pm not loaded: Can't locate Lasso.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at (eval 139) line 1. BEGIN failed--compilation aborted at (eval 139) line 1. [Tue Oct 01 14:31:26 2013] [debug] CGI.pm(102): /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/Simple.pm 488: [Tue Oct 01 14:31:26 2013] [error] Lemonldap::NG::Portal::AuthSAML load error: Bareword "Lasso::Constants::HTTP_METHOD_REDIRECT" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/_SAML.pm line 431.\nBareword "Lasso::Constants::HTTP_METHOD_ARTIFACT_GET" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/_SAML.pm line 459.\nBareword "Lasso::Constants::HTTP_METHOD_POST" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/_SAML.pm line 480.\nBareword "Lasso::Constants::HTTP_METHOD_ARTIFACT_POST" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/_SAML.pm line 508.\nBareword "Lasso::Constants::HTTP_METHOD_SOAP" not allowed while "strict subs" in use at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/_SAML.pm line 527.\nCompilation failed in require at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/AuthSAML.pm line 11.\nBEGIN failed--compilation aborted at /usr/local/share/perl/5.14.2/Lemonldap/NG/Portal/AuthSAML.pm line 11.\nCompilation failed in require at (eval 136) line 2.\n {panel}
This is because we explicitely check some SAML method in AuthChoice. We should not, or catch this error.