[SAMLv2] when no artifact message is present, still return a success status
It is mandated by the specification.
This commit is contained in:
parent
08d61d5c95
commit
b1f6b7e0ed
|
@ -15,7 +15,7 @@ dnl - Second number is the number of supported API versions where API version >
|
|||
dnl first number.
|
||||
dnl - Third number is the current API version implementation version number.
|
||||
dnl See libtool explanations about current, age and release, later in this file.
|
||||
AC_INIT([lasso], 2.3.0, lasso-devel@lists.labs.libre-entreprise.org)
|
||||
AC_INIT([lasso], 2.3.1, lasso-devel@lists.labs.libre-entreprise.org)
|
||||
dnl Check if autoconf ver > 2.53
|
||||
AC_PREREQ(2.53)
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
|
|
|
@ -416,6 +416,10 @@ lasso_saml20_profile_build_artifact_response(LassoProfile *profile)
|
|||
LASSO_SAML2_STATUS_CODE_RESPONDER,
|
||||
LASSO_PRIVATE_STATUS_CODE_FAILED_TO_RESTORE_ARTIFACT);
|
||||
}
|
||||
} else {
|
||||
/* if no artifact is present, it is a success anyway */
|
||||
lasso_saml20_profile_set_response_status(profile,
|
||||
LASSO_SAML2_STATUS_CODE_SUCCESS, NULL);
|
||||
}
|
||||
/* Setup the signature */
|
||||
lasso_check_good_rc(lasso_profile_saml20_setup_message_signature(profile,
|
||||
|
|
Loading…
Reference in New Issue