diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-10-01 17:44:40 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-10-01 17:44:40 +0200 |
| commit | 86f0f6b6f23b88da75a67667a7c150d5dace5c06 (patch) | |
| tree | 27b4e58ebcc805a9e8ecedde9e8865dea55c69cd | |
| parent | d9bc35e01ab3f8488c0c3f61ff55ef520a0c9069 (diff) | |
| download | lasso-86f0f6b6f23b88da75a67667a7c150d5dace5c06.tar.gz lasso-86f0f6b6f23b88da75a67667a7c150d5dace5c06.tar.xz lasso-86f0f6b6f23b88da75a67667a7c150d5dace5c06.zip | |
[SAMLv2] restore setting of SubjectConfirmationData->NotOnOrAfter
This was wrongly removed by me in commit
9d22f29e55524034dfda34c15b76f1b0b78c4413.
This is the responsability of the caller to adjust value on the
Conditions and SubjectConfirmationData independently after.
| -rw-r--r-- | lasso/saml-2.0/login.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index c080faca..aa892315 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -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) { |
