diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-04-21 11:06:04 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-04-21 11:23:10 +0200 |
commit | 481aeef4e00c1c4193154674f15c8267f976641a (patch) | |
tree | 734c2abe752bbb54ec26446d36f2d89d6976def4 /lasso/saml-2.0 | |
parent | 7016e7c4530916bb26bfc57dd9f0d4dea544bfbb (diff) | |
download | lasso-481aeef4e00c1c4193154674f15c8267f976641a.tar.gz lasso-481aeef4e00c1c4193154674f15c8267f976641a.tar.xz lasso-481aeef4e00c1c4193154674f15c8267f976641a.zip |
[saml2] if Status is not Success pass continue processing the response
lasso_saml20_login_process_response_status_and_assertion does analyze
the response status code login specific error codes, if the generic
processing from lasso_saml20_profile_process_any_response returns a
status of response is not success, we must continue processing.
Diffstat (limited to 'lasso/saml-2.0')
-rw-r--r-- | lasso/saml-2.0/login.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index 08e5d6a2..3955b62c 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -1057,7 +1057,8 @@ lasso_saml20_login_process_authn_response_msg(LassoLogin *login, gchar *authn_re /* Skip signature errors, let lasso_saml20_login_process_response_status_and_assertion * handle them */ - goto_cleanup_if_fail (rc == 0 || rc == LASSO_PROFILE_ERROR_CANNOT_VERIFY_SIGNATURE); + goto_cleanup_if_fail (rc == 0 || rc == LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS || rc == + LASSO_PROFILE_ERROR_CANNOT_VERIFY_SIGNATURE); rc = lasso_saml20_login_process_response_status_and_assertion(login); cleanup: |