From 6a13926ab584e06953bc9c6d533bd3990f4ce3f8 Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Thu, 30 Sep 2010 14:41:16 +0200 Subject: [PATCH] Any exception mapping --- src/saml2/s_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/saml2/s_utils.py b/src/saml2/s_utils.py index c497b96..205788e 100644 --- a/src/saml2/s_utils.py +++ b/src/saml2/s_utils.py @@ -33,6 +33,8 @@ EXCEPTION2STATUS = { UnsupportedBinding: samlp.STATUS_UNSUPPORTED_BINDING, OtherError: samlp.STATUS_UNKNOWN_PRINCIPAL, MissingValue: samlp.STATUS_REQUEST_UNSUPPORTED, + # Undefined + Exception: samlp.STATUS_AUTHN_FAILED, } GENERIC_DOMAINS = "aero", "asia", "biz", "cat", "com", "coop", \