summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:15:18 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2009-08-26 15:15:18 +0000
commit49eb8da269c899c678b2b4afa8f81851712bbf4a (patch)
tree824db79c0d1eb0bd326b6fecb9577895583f7ac4
parent5821cc48dae5df1ced6674b3371bcc5622de4d65 (diff)
XML: Add all including header fil for saml2, id-ff and id-wsf
* lasso/xml/xml_idff.h: this header file reference all id-ff 1.2 elements * lasso/xml/xml_idwsf.h: this header file reference all id-wsf 1.0 elements * lasso/xml/saml-2.0/xml_saml2.h: this header file reference all saml-2.0 elements
-rw-r--r--bindings/bindings.py2
-rw-r--r--lasso/xml/Makefile.am2
-rw-r--r--lasso/xml/saml-2.0/Makefile.am1
-rw-r--r--lasso/xml/saml-2.0/xml_saml2.h80
-rw-r--r--lasso/xml/xml_idff.h86
-rw-r--r--lasso/xml/xml_idwsf.h73
6 files changed, 243 insertions, 1 deletions
diff --git a/bindings/bindings.py b/bindings/bindings.py
index f4bf460b..2548e562 100644
--- a/bindings/bindings.py
+++ b/bindings/bindings.py
@@ -458,6 +458,8 @@ def parse_headers(srcdir):
makefile_am = open(os.path.join(base, 'Makefile.am')).read()
filenames = [x for x in filenames if x.endswith('.h') if x in makefile_am]
for filename in filenames:
+ if filename in ('xml_idff.h', 'xml_idwsf.h', 'xml_saml2.h'):
+ continue
if filename == 'lasso_config.h' or 'private' in filename:
continue
if not binding.options.idwsf and filename.split('_')[0] in wsf_prefixes:
diff --git a/lasso/xml/Makefile.am b/lasso/xml/Makefile.am
index 35b680ec..4c7831ce 100644
--- a/lasso/xml/Makefile.am
+++ b/lasso/xml/Makefile.am
@@ -260,4 +260,4 @@ liblassoinclude_HEADERS = \
lasso_private_h_sources = \
private.h
-EXTRA_DIST = $(lasso_private_h_sources)
+EXTRA_DIST = $(lasso_private_h_sources) xml_idff.h xml_idwsf.h
diff --git a/lasso/xml/saml-2.0/Makefile.am b/lasso/xml/saml-2.0/Makefile.am
index c9a703c5..45f3fe58 100644
--- a/lasso/xml/saml-2.0/Makefile.am
+++ b/lasso/xml/saml-2.0/Makefile.am
@@ -1,3 +1,4 @@
+EXTRA_DIST = xml_saml2.h
MAINTAINERCLEANFILES = Makefile.in
liblassoincludedir = $(includedir)/lasso/xml/saml-2.0
diff --git a/lasso/xml/saml-2.0/xml_saml2.h b/lasso/xml/saml-2.0/xml_saml2.h
new file mode 100644
index 00000000..4527e488
--- /dev/null
+++ b/lasso/xml/saml-2.0/xml_saml2.h
@@ -0,0 +1,80 @@
+/* $Id$
+ *
+ * Lasso - A free implementation of the Liberty Alliance specifications.
+ *
+ * Copyright (C) 2004-2007 Entr'ouvert
+ * http://lasso.entrouvert.org
+ *
+ * Authors: See AUTHORS file in top-level directory.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __LASSO_XML_SAML2_H__
+#define __LASSO_XML_SAML2_H__
+
+#include "./saml2_action.h"
+#include "./saml2_advice.h"
+#include "./saml2_assertion.h"
+#include "./saml2_attribute.h"
+#include "./saml2_attribute_statement.h"
+#include "./saml2_attribute_value.h"
+#include "./saml2_audience_restriction.h"
+#include "./saml2_authn_context.h"
+#include "./saml2_authn_statement.h"
+#include "./saml2_authz_decision_statement.h"
+#include "./saml2_base_idabstract.h"
+#include "./saml2_condition_abstract.h"
+#include "./saml2_conditions.h"
+#include "./saml2_encrypted_element.h"
+#include "./saml2_evidence.h"
+#include "./saml2_key_info_confirmation_data.h"
+#include "./saml2_name_id.h"
+#include "./saml2_one_time_use.h"
+#include "./saml2_proxy_restriction.h"
+#include "./saml2_statement_abstract.h"
+#include "./saml2_subject_confirmation_data.h"
+#include "./saml2_subject_confirmation.h"
+#include "./saml2_subject.h"
+#include "./saml2_subject_locality.h"
+#include "./samlp2_artifact_resolve.h"
+#include "./samlp2_artifact_response.h"
+#include "./samlp2_assertion_id_request.h"
+#include "./samlp2_attribute_query.h"
+#include "./samlp2_authn_query.h"
+#include "./samlp2_authn_request.h"
+#include "./samlp2_authz_decision_query.h"
+#include "./samlp2_extensions.h"
+#include "./samlp2_idp_entry.h"
+#include "./samlp2_idp_list.h"
+#include "./samlp2_logout_request.h"
+#include "./samlp2_logout_response.h"
+#include "./samlp2_manage_name_id_request.h"
+#include "./samlp2_manage_name_id_response.h"
+#include "./samlp2_name_id_mapping_request.h"
+#include "./samlp2_name_id_mapping_response.h"
+#include "./samlp2_name_id_policy.h"
+#include "./samlp2_request_abstract.h"
+#include "./samlp2_requested_authn_context.h"
+#include "./samlp2_response.h"
+#include "./samlp2_scoping.h"
+#include "./samlp2_status_code.h"
+#include "./samlp2_status_detail.h"
+#include "./samlp2_status.h"
+#include "./samlp2_status_response.h"
+#include "./samlp2_subject_query_abstract.h"
+#include "./samlp2_terminate.h"
+
+#endif /* __LASSO_XML_SAML2_H__ */
diff --git a/lasso/xml/xml_idff.h b/lasso/xml/xml_idff.h
new file mode 100644
index 00000000..27e332e9
--- /dev/null
+++ b/lasso/xml/xml_idff.h
@@ -0,0 +1,86 @@
+/* $Id$
+ *
+ * Lasso - A free implementation of the Liberty Alliance specifications.
+ *
+ * Copyright (C) 2004-2007 Entr'ouvert
+ * http://lasso.entrouvert.org
+ *
+ * Authors: See AUTHORS file in top-level directory.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __LASSO_XML_IDFF_H__
+#define __LASSO_XML_IDFF_H__
+
+#include "./xml.h"
+#include "./ds_key_info.h"
+#include "./ds_key_value.h"
+#include "./ds_rsa_key_value.h"
+#include "./lib_assertion.h"
+#include "./lib_authentication_statement.h"
+#include "./lib_authn_context.h"
+#include "./lib_authn_request_envelope.h"
+#include "./lib_authn_request.h"
+#include "./lib_authn_response_envelope.h"
+#include "./lib_authn_response.h"
+#include "./lib_federation_termination_notification.h"
+#include "./lib_idp_entries.h"
+#include "./lib_idp_entry.h"
+#include "./lib_idp_list.h"
+#include "./lib_logout_request.h"
+#include "./lib_logout_response.h"
+#include "./lib_name_identifier_mapping_request.h"
+#include "./lib_name_identifier_mapping_response.h"
+#include "./lib_register_name_identifier_request.h"
+#include "./lib_register_name_identifier_response.h"
+#include "./lib_request_authn_context.h"
+#include "./lib_scoping.h"
+#include "./lib_status_response.h"
+#include "./lib_subject.h"
+#include "./misc_text_node.h"
+#include "./saml_advice.h"
+#include "./saml_assertion.h"
+#include "./saml_attribute_designator.h"
+#include "./saml_attribute.h"
+#include "./saml_attribute_statement.h"
+#include "./saml_attribute_value.h"
+#include "./saml_audience_restriction_condition.h"
+#include "./saml_authentication_statement.h"
+#include "./saml_authority_binding.h"
+#include "./saml_condition_abstract.h"
+#include "./saml_conditions.h"
+#include "./saml_name_identifier.h"
+#include "./samlp_request_abstract.h"
+#include "./samlp_request.h"
+#include "./samlp_response_abstract.h"
+#include "./samlp_response.h"
+#include "./samlp_status_code.h"
+#include "./samlp_status.h"
+#include "./saml_statement_abstract.h"
+#include "./saml_subject_confirmation.h"
+#include "./saml_subject.h"
+#include "./saml_subject_locality.h"
+#include "./saml_subject_statement_abstract.h"
+#include "./saml_subject_statement.h"
+#include "./soap_body.h"
+#include "./soap_detail.h"
+#include "./soap_envelope.h"
+#include "./soap_fault.h"
+#include "./soap_header.h"
+#include "./strings.h"
+#include "./xml_enc.h"
+
+#endif /* __LASSO_XML_IDFF_H__ */
diff --git a/lasso/xml/xml_idwsf.h b/lasso/xml/xml_idwsf.h
new file mode 100644
index 00000000..ba7a9ec1
--- /dev/null
+++ b/lasso/xml/xml_idwsf.h
@@ -0,0 +1,73 @@
+/* $Id$
+ *
+ * Lasso - A free implementation of the Liberty Alliance specifications.
+ *
+ * Copyright (C) 2004-2007 Entr'ouvert
+ * http://lasso.entrouvert.org
+ *
+ * Authors: See AUTHORS file in top-level directory.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef __LASSO_XML_IDWSF_H__
+#define __LASSO_XML_IDWSF_H__
+
+#include "./dst_data.h"
+#include "./dst_modification.h"
+#include "./dst_modify.h"
+#include "./dst_modify_response.h"
+#include "./dst_new_data.h"
+#include "./dst_query.h"
+#include "./dst_query_item.h"
+#include "./dst_query_response.h"
+#include "./is_help.h"
+#include "./is_inquiry_element.h"
+#include "./is_inquiry.h"
+#include "./is_interaction_request.h"
+#include "./is_interaction_response.h"
+#include "./is_interaction_statement.h"
+#include "./is_item.h"
+#include "./is_parameter.h"
+#include "./is_redirect_request.h"
+#include "./is_select.h"
+#include "./is_text.h"
+#include "./is_user_interaction.h"
+#include "./sa_credentials.h"
+#include "./sa_parameter.h"
+#include "./sa_password_transforms.h"
+#include "./sa_sasl_request.h"
+#include "./sa_sasl_response.h"
+#include "./sa_transform.h"
+#include "./sec_resource_access_statement.h"
+#include "./soap_binding_consent.h"
+#include "./soap_binding_correlation.h"
+#include "./soap_binding_ext_credential.h"
+#include "./soap_binding_ext_credentials_context.h"
+#include "./soap_binding_ext_service_instance_update.h"
+#include "./soap_binding_ext_timeout.h"
+#include "./soap_binding.h"
+#include "./soap_binding_processing_context.h"
+#include "./soap_binding_provider.h"
+#include "./soap_binding_usage_directive.h"
+#include "./soap_body.h"
+#include "./soap_detail.h"
+#include "./soap_envelope.h"
+#include "./soap_fault.h"
+#include "./soap_header.h"
+#include "./utility_status.h"
+#include "./wsse_security.h"
+
+#endif