From 98c97ca26f67e67efea110ed49ccdc4fcc6952c9 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Thu, 1 Apr 2004 13:27:11 +0000 Subject: Added arg protocolProfile in fct lasso_build_full_authnRequest() --- lasso/Attic/protocols/single_sign_on_and_federation.c | 7 +++++++ lasso/Attic/protocols/single_sign_on_and_federation.h | 1 + 2 files changed, 8 insertions(+) diff --git a/lasso/Attic/protocols/single_sign_on_and_federation.c b/lasso/Attic/protocols/single_sign_on_and_federation.c index 02411a5d..702bf7ff 100644 --- a/lasso/Attic/protocols/single_sign_on_and_federation.c +++ b/lasso/Attic/protocols/single_sign_on_and_federation.c @@ -29,6 +29,7 @@ LassoNode *lasso_build_authnRequest(const xmlChar *providerID, const xmlChar *nameIDPolicy, const xmlChar *forceAuthn, const xmlChar *isPassive, + const xmlChar *protocolProfile, const xmlChar *assertionConsumerServiceID, const xmlChar **authnContextClassRefs, const xmlChar **authnContextStatementRefs, @@ -46,6 +47,7 @@ LassoNode *lasso_build_authnRequest(const xmlChar *providerID, nameIDPolicy, forceAuthn, isPassive, + protocolProfile, assertionConsumerServiceID, authnContextClassRefs, authnContextStatementRefs, @@ -64,6 +66,7 @@ LassoNode *lasso_build_full_authnRequest(const xmlChar *requestID, const xmlChar *nameIDPolicy, const xmlChar *forceAuthn, const xmlChar *isPassive, + const xmlChar *protocolProfile, const xmlChar *assertionConsumerServiceID, const xmlChar **authnContextClassRefs, const xmlChar **authnContextStatementRefs, @@ -128,6 +131,10 @@ LassoNode *lasso_build_full_authnRequest(const xmlChar *requestID, if(isPassive != NULL) { lasso_lib_authn_request_set_isPassive(LASSO_LIB_AUTHN_REQUEST(request), isPassive); } + + if(protocolProfile != NULL) { + lasso_lib_authn_request_set_protocolProfile(LASSO_LIB_AUTHN_REQUEST(request), protocolProfile); + } if(assertionConsumerServiceID != NULL) { lasso_lib_authn_request_set_assertionConsumerServiceID(LASSO_LIB_AUTHN_REQUEST(request), diff --git a/lasso/Attic/protocols/single_sign_on_and_federation.h b/lasso/Attic/protocols/single_sign_on_and_federation.h index b962bd82..594ecd8d 100644 --- a/lasso/Attic/protocols/single_sign_on_and_federation.h +++ b/lasso/Attic/protocols/single_sign_on_and_federation.h @@ -35,6 +35,7 @@ LassoNode *lasso_build_authnRequest(const xmlChar *providerID, const xmlChar *nameIDPolicy, const xmlChar *forceAuthn, const xmlChar *isPassive, + const xmlChar *protocolProfile, const xmlChar *assertionConsumerServiceID, const xmlChar **authnContextClassRefs, const xmlChar **authnContextStatementRefs, -- cgit