[SAMLv2] restore setting of SubjectConfirmationData->NotOnOrAfter

This was wrongly removed by me in commit
9d22f29e55.

This is the responsability of the caller to adjust value on the
Conditions and SubjectConfirmationData independently after.
This commit is contained in:
Benjamin Dauvergne 2010-10-01 17:44:40 +02:00
parent d9bc35e01a
commit 86f0f6b6f2
1 changed files with 6 additions and 0 deletions

View File

@ -762,6 +762,12 @@ lasso_saml20_login_build_assertion(LassoLogin *login,
assertion->Subject->SubjectConfirmation->SubjectConfirmationData =
LASSO_SAML2_SUBJECT_CONFIRMATION_DATA(
lasso_saml2_subject_confirmation_data_new());
lasso_assign_string(
assertion->Subject->SubjectConfirmation->SubjectConfirmationData->NotBefore,
notBefore);
lasso_assign_string(
assertion->Subject->SubjectConfirmation->SubjectConfirmationData->NotOnOrAfter,
notOnOrAfter);
/* If request is present, refer to it in the response */
if (authn_request) {