[samlv2 login] do not setup conditions->notBefore/notOnOrAfter only notOnOrAfter on SubjectConfirmationData

This commit is contained in:
Benjamin Dauvergne 2010-12-17 17:34:59 +01:00
parent cd6262bbd7
commit fd52e68094
1 changed files with 0 additions and 5 deletions

View File

@ -743,8 +743,6 @@ lasso_saml20_login_build_assertion(LassoLogin *login,
assertion->Issuer = LASSO_SAML2_NAME_ID(lasso_saml2_name_id_new_with_string(
LASSO_PROVIDER(profile->server)->ProviderID));
assertion->Conditions = LASSO_SAML2_CONDITIONS(lasso_saml2_conditions_new());
lasso_assign_string(assertion->Conditions->NotOnOrAfter, notOnOrAfter);
lasso_assign_string(assertion->Conditions->NotBefore, notBefore);
audience_restriction = LASSO_SAML2_AUDIENCE_RESTRICTION(
lasso_saml2_audience_restriction_new());
@ -759,9 +757,6 @@ 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);