[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.
This commit is contained in:
Benjamin Dauvergne 2011-04-21 11:06:04 +02:00
parent 7016e7c453
commit 481aeef4e0
1 changed files with 2 additions and 1 deletions

View File

@ -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: