Report the received Recipient for error on SubjectConfirmationData

git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@109 a716ebb1-153a-0410-b759-cfb97c6a1b53
This commit is contained in:
benjamin.dauvergne 2010-09-28 15:54:33 +00:00
parent 07deabfce4
commit 808bb7f277
1 changed files with 2 additions and 2 deletions

View File

@ -1210,8 +1210,8 @@ static int am_validate_subject(request_rec *r, LassoSaml2Assertion *assertion,
if (scd->Recipient) {
if (strcmp(scd->Recipient, url)) {
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"Wrong Recipient in SubjectConfirmationData. Current URL is: %s",
url);
"Wrong Recipient in SubjectConfirmationData. Current URL is: %s, Recipient is %s",
url, scd->Recipient);
return HTTP_BAD_REQUEST;
}
}