Commit 95021b76 authored by Xavier Guimard's avatar Xavier Guimard

Missing constants


git-svn-id: svn://svn.forge.objectweb.org/svnroot/lemonldap/trunk@1766 1dbb9719-a921-0410-b57f-c3a383c2c641
parent 316f6dcf
......@@ -171,7 +171,7 @@ manager: manager_conf
@$(MAKE) -C ${SRCMANAGERDIR}
@touch manager
test: common_test handler_test portal_test manager_test extra_test
test: all common_test handler_test portal_test manager_test extra_test
common_test: common
@$(MAKE) -C ${SRCCOMMONDIR} test
......@@ -185,7 +185,7 @@ portal_test: portal handler_test common_test
manager_test: manager handler_test common_test
@$(MAKE) -C ${SRCMANAGERDIR} test FULLPERL="$(PERL) -I../${SRCCOMMONDIR}/blib/lib/ -I../${SRCHANDLERDIR}/blib/lib/"
extra_test: common handler portal manager
extra_test: all
PERL_DL_NONLAZY=1 $(PERL) "-MExtUtils::Command::MM" "-e" "test_harness(0, 'lemonldap-ng-common/blib/lib', 'lemonldap-ng-handler/blib/lib', 'lemonldap-ng-manager/blib/lib', 'lemonldap-ng-portal/blib/lib')" extra-tests/*.t
#
......
......@@ -22,11 +22,11 @@ our $page_title = 'Lemonldap::NG statistics';
# @return Constant hash used to convert error codes into string.
sub portalTab {
return {
-5 => 'PE_IMG_NOK',
-4 => 'PE_IMG_OK',
-3 => 'PE_INFO',
-5 => 'PORTAL_IMG_NOK',
-4 => 'PORTAL_IMG_OK',
-3 => 'PORTAL_INFO',
-2 => 'PORTAL_REDIRECT',
-1 => 'PORTAL_ALREADY_AUTHENTICATED',
-1 => 'PORTAL_DONE',
0 => 'PORTAL_OK',
1 => 'PORTAL_SESSIONEXPIRED',
2 => 'PORTAL_FORMEMPTY',
......@@ -65,24 +65,24 @@ sub portalTab {
45 => 'PORTAL_MAILERROR',
46 => 'PORTAL_MAILOK',
47 => 'PORTAL_LOGOUT_OK',
48 => 'PE_SAML_ERROR',
49 => 'PE_SAML_LOAD_SERVICE_ERROR',
50 => 'PE_SAML_LOAD_IDP_ERROR',
51 => 'PE_SAML_SSO_ERROR',
52 => 'PE_SAML_UNKNOWN_ENTITY',
53 => 'PE_SAML_DESTINATION_ERROR',
54 => 'PE_SAML_CONDITIONS_ERROR',
55 => 'PE_SAML_IDPSSOINITIATED_NOTALLOWED',
56 => 'PE_SAML_SLO_ERROR',
57 => 'PE_SAML_SIGNATURE_ERROR',
58 => 'PE_SAML_ART_ERROR',
59 => 'PE_SAML_SESSION_ERROR',
60 => 'PE_SAML_LOAD_SP_ERROR',
61 => 'PE_SAML_ATTR_ERROR',
62 => 'PE_OPENID_EMPTY',
63 => 'PE_OPENID_BADID',
64 => 'PE_MISSINGREQATTR',
65 => 'PE_BADPARTNER',
48 => 'PORTAL_SAML_ERROR',
49 => 'PORTAL_SAML_LOAD_SERVICE_ERROR',
50 => 'PORTAL_SAML_LOAD_IDP_ERROR',
51 => 'PORTAL_SAML_SSO_ERROR',
52 => 'PORTAL_SAML_UNKNOWN_ENTITY',
53 => 'PORTAL_SAML_DESTINATION_ERROR',
54 => 'PORTAL_SAML_CONDITIONS_ERROR',
55 => 'PORTAL_SAML_IDPSSOINITIATED_NOTALLOWED',
56 => 'PORTAL_SAML_SLO_ERROR',
57 => 'PORTAL_SAML_SIGNATURE_ERROR',
58 => 'PORTAL_SAML_ART_ERROR',
59 => 'PORTAL_SAML_SESSION_ERROR',
60 => 'PORTAL_SAML_LOAD_SP_ERROR',
61 => 'PORTAL_SAML_ATTR_ERROR',
62 => 'PORTAL_OPENID_EMPTY',
63 => 'PORTAL_OPENID_BADID',
64 => 'PORTAL_MISSINGREQATTR',
65 => 'PORTAL_BADPARTNER',
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment