summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-04-01 13:27:11 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-04-01 13:27:11 +0000
commit98c97ca26f67e67efea110ed49ccdc4fcc6952c9 (patch)
treedbadd5de1e241f4fd690215c2a467fe823b0688d
parentdb6d145bace5ef2f82e3ca74a43ae146ba1ed8f9 (diff)
downloadlasso-98c97ca26f67e67efea110ed49ccdc4fcc6952c9.tar.gz
lasso-98c97ca26f67e67efea110ed49ccdc4fcc6952c9.tar.xz
lasso-98c97ca26f67e67efea110ed49ccdc4fcc6952c9.zip
Added arg protocolProfile in fct lasso_build_full_authnRequest()
-rw-r--r--lasso/Attic/protocols/single_sign_on_and_federation.c7
-rw-r--r--lasso/Attic/protocols/single_sign_on_and_federation.h1
2 files changed, 8 insertions, 0 deletions
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,