summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-05-31 07:13:39 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-05-31 07:13:39 +0000
commit60c6a25208bd0097fb242e4d6e8e00a65d516a71 (patch)
treef2c72f39e640e646d9a30b29ce8c206ee28c2b6e
parentabb63e32f835f3678360485383c456e24bef95f5 (diff)
downloadlasso-60c6a25208bd0097fb242e4d6e8e00a65d516a71.tar.gz
lasso-60c6a25208bd0097fb242e4d6e8e00a65d516a71.tar.xz
lasso-60c6a25208bd0097fb242e4d6e8e00a65d516a71.zip
SAML 2.0: in lasso_login_build_assertion do not conflate sessionNotOnOrAfter with assertion condition notOnOrAfter
-rw-r--r--lasso/saml-2.0/login.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c
index c7ea2409..3dff4617 100644
--- a/lasso/saml-2.0/login.c
+++ b/lasso/saml-2.0/login.c
@@ -703,9 +703,6 @@ lasso_saml20_login_build_assertion(LassoLogin *login,
const char *notOnOrAfter)
{
LassoProfile *profile = &login->parent;
-#if 0
- LassoFederation *federation = NULL;
-#endif
LassoSaml2Assertion *assertion = NULL;
LassoSaml2AudienceRestriction *audience_restriction = NULL;
LassoSamlp2NameIDPolicy *name_id_policy = NULL;
@@ -822,7 +819,6 @@ lasso_saml20_login_build_assertion(LassoLogin *login,
authentication_statement = LASSO_SAML2_AUTHN_STATEMENT(lasso_saml2_authn_statement_new());
authentication_statement->AuthnInstant = g_strdup(authenticationInstant);
- authentication_statement->SessionNotOnOrAfter = g_strdup(notOnOrAfter);
authentication_statement->AuthnContext = LASSO_SAML2_AUTHN_CONTEXT(
lasso_saml2_authn_context_new());
authentication_statement->AuthnContext->AuthnContextClassRef = g_strdup(