summaryrefslogtreecommitdiffstats
path: root/lasso/Attic
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-08-22 16:22:01 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-08-22 16:22:01 +0000
commiteea33a45c765cba6a2ae50b871012fa157416da0 (patch)
treecd3088befe4265122fd0f2eccd97a65018e9c4af /lasso/Attic
parent3a48fd24cde5f0a2c779d47ee97fc10f662c9ea7 (diff)
downloadlasso-eea33a45c765cba6a2ae50b871012fa157416da0.tar.gz
lasso-eea33a45c765cba6a2ae50b871012fa157416da0.tar.xz
lasso-eea33a45c765cba6a2ae50b871012fa157416da0.zip
Added a new param "use_xsitype" (gboolean) in constructors of classes:
LassoLibSubject, LassoLibAssertion, LassoLibAuthenticationStatement
Diffstat (limited to 'lasso/Attic')
-rw-r--r--lasso/Attic/protocols/elements/assertion.c4
-rw-r--r--lasso/Attic/protocols/elements/authentication_statement.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/lasso/Attic/protocols/elements/assertion.c b/lasso/Attic/protocols/elements/assertion.c
index ef81fdd3..950ca5c8 100644
--- a/lasso/Attic/protocols/elements/assertion.c
+++ b/lasso/Attic/protocols/elements/assertion.c
@@ -75,7 +75,9 @@ lasso_assertion_new(const xmlChar *issuer,
g_return_val_if_fail(issuer != NULL, NULL);
- assertion = LASSO_NODE(g_object_new(LASSO_TYPE_ASSERTION, NULL));
+ assertion = LASSO_NODE(g_object_new(LASSO_TYPE_ASSERTION,
+ "use_xsitype", TRUE,
+ NULL));
id = lasso_build_unique_id(32);
lasso_saml_assertion_set_assertionID(LASSO_SAML_ASSERTION(assertion),
diff --git a/lasso/Attic/protocols/elements/authentication_statement.c b/lasso/Attic/protocols/elements/authentication_statement.c
index 32d16e87..8c6dbedd 100644
--- a/lasso/Attic/protocols/elements/authentication_statement.c
+++ b/lasso/Attic/protocols/elements/authentication_statement.c
@@ -80,7 +80,9 @@ lasso_authentication_statement_new(const xmlChar *authenticationMethod
g_return_val_if_fail(LASSO_IS_SAML_NAME_IDENTIFIER(idp_identifier), NULL);
- statement = LASSO_NODE(g_object_new(LASSO_TYPE_AUTHENTICATION_STATEMENT, NULL));
+ statement = LASSO_NODE(g_object_new(LASSO_TYPE_AUTHENTICATION_STATEMENT,
+ "use_xsitype", TRUE,
+ NULL));
lasso_saml_authentication_statement_set_authenticationMethod(LASSO_SAML_AUTHENTICATION_STATEMENT(statement),
authenticationMethod);
@@ -91,7 +93,8 @@ lasso_authentication_statement_new(const xmlChar *authenticationMethod
lasso_lib_authentication_statement_set_reauthenticateOnOrAfter(LASSO_LIB_AUTHENTICATION_STATEMENT(statement),
reauthenticateOnOrAfter);
- subject = lasso_lib_subject_new();
+ /* use_xsitype = TRUE */
+ subject = lasso_lib_subject_new(TRUE);
if (sp_identifier == NULL) {
if (idp_identifier != NULL) {
new_identifier = lasso_node_copy(LASSO_NODE(idp_identifier));