summaryrefslogtreecommitdiffstats
path: root/lasso/xml
Commit message (Collapse)AuthorAgeFilesLines
* xml/samlp2_logout_request: fix leaks around session indexesBenjamin Dauvergne2014-06-081-2/+14
|
* xml/xml.c: fix liberal use of casting for the SNIPPET_INTEGER and ↵Benjamin Dauvergne2014-04-241-21/+34
| | | | | | | | SNIPPET_BOOLEAN case Some behaviour are also made more explicit like the optional if equals to -1 case for integer fields, and the optional if FALSE for boolean fields.
* lasso/xml/tools.c: fix reference to unitialized memoryBenjamin Dauvergne2014-04-241-1/+1
|
* Fix license boilerplatesSimo Sorce2013-12-03651-1302/+651
| | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com>
* lasso/xml/tools.c: fix misuse of xmlURIUnescapeStringBenjamin Dauvergne2013-09-271-2/+10
| | | | | If the length argument is NULL, the full string is unescaped; the behaviour we expected is to return a 0 length string.
* saml2/profile: fix missing ArtifactResolutionService index in artifactsBenjamin Dauvergne2013-09-081-0/+1
|
* fix compilation errors on 64bits architecturesBenjamin Dauvergne2013-09-082-2/+2
| | | | | * sizeof(unsigned int) != sizeof(size_t) * INT_MAX != LONG_MAX
* fix warnings about unused but set variablesBenjamin Dauvergne2013-09-082-6/+4
|
* Merge remote-tracking branch 'origin/libxml2.9-compat'Benjamin Dauvergne2013-07-301-19/+20
|\
| * Rewrite all xmlNode serialization code to be compatible with libxml 2.9.0Benjamin Dauvergne2012-09-281-19/+20
| | | | | | | | | | | | | | | | | | | | Libxml stopped exposing the internal of the xmlOutputBuffer structure; it was replace by proper use of the API and of the xmlBuffer structure. There could be regression for older version of libxml as some functions appeared in recent version of libxml; but the reference API document does not give any introduction date for functions so it's hard to be sure.
* | xml-saml-2.0: ManageNameIDRequest must have a NameIDBenjamin Dauvergne2013-01-251-0/+18
| |
* | xml-saml-2.0: LogoutRequest must have a NameIDBenjamin Dauvergne2013-01-251-0/+8
| |
* | xml: really enforce elements cardinality when parsing messagesBenjamin Dauvergne2013-01-252-35/+78
| | | | | | | | | | | | | | | | - add a new SNIPPET_MANDATORY: we could only indicate 0-1 and 0-* cardinalities, now we can also indicate 1-1 and 1-* cardinalities. - repect cadinalities when parsing an xmlNode tree into a LassoNode tree.
* | xml-saml-2.0: add missing namespace declaration for the ↵Benjamin Dauvergne2013-01-251-1/+2
| | | | | | | | KeyInfoSujectConfirmationData sub-type
* | fix memory leak in lasso_node_impl_init_from_xml: release the class_listBenjamin Dauvergne2013-01-251-6/+12
| |
* | fix potential segfault in lasso_node_impl_init_from_xmlBenjamin Dauvergne2013-01-251-8/+10
|/
* [xml] fix wrong forward declarationBenjamin Dauvergne2012-05-051-2/+2
|
* [xml] add missing includeBenjamin Dauvergne2012-05-051-0/+2
|
* [xml] fix typosBenjamin Dauvergne2012-05-052-5/+5
|
* [lasso] add missing GObjectIntrospection annotations to ↵Benjamin Dauvergne2012-05-051-1/+1
| | | | lasso_node_get_original_xmlnode
* [lasso] add missing GObjectIntrospection annotations to ↵Benjamin Dauvergne2012-05-051-1/+1
| | | | lasso_misc_text_node_get_xml_content
* Merge branch 'release-2.4.0'Benjamin Dauvergne2012-05-054-69/+207
|\
| * [key] add methods to send message using SAML 2.0 redirect and post bindingsBenjamin Dauvergne2012-03-174-69/+207
| |
* | fix wrong EXTRA_DIST in lasso/xml/dsig/Makefile.amBenjamin Dauvergne2012-04-272-2/+36
| |
* | fix compilation error with xmlsec 1.2.18 / freebsd (#1365)Thomas NOEL2012-04-261-0/+1
| | | | | | | | see http://dev.entrouvert.org/issues/1365
* | build: do not include multiple glib headersFrédéric Péters2012-04-021-1/+0
|/
* Incompatibility with clang: local functions with closure does not workBenjamin Dauvergne2011-12-291-4/+6
|
* [doc] do some documentation fixingBenjamin Dauvergne2011-12-221-3/+3
|
* [id-ff 1.1] add support for multiple SessionIndex to lib:LogoutRequestBenjamin Dauvergne2011-12-222-0/+71
| | | | | Combined with the new LassoSession storage for SessionIndex, it should fix many bugs when doing SLO.
* [id-ff 1.2] add lasso_saml_name_identifier_equals() to compare NameIDsBenjamin Dauvergne2011-12-192-0/+17
|
* [Makefile] add strings.h to the dsig module includesBenjamin Dauvergne2011-12-161-1/+2
|
* [xml/saml2] replace magic string by a defineBenjamin Dauvergne2011-12-161-4/+4
|
* Simplify useless complexity in include pathsBenjamin Dauvergne2011-12-16220-548/+548
|
* [xml] in is_interaction_request.h move new field to the end of the structure ↵Benjamin Dauvergne2011-12-161-2/+1
| | | | fto limit ABI impact
* [xml] rewrite schema directed serialization/deserialization methodsBenjamin Dauvergne2011-12-1611-468/+614
| | | | | | | | | | | | | | | | | | | | | | | | The new implementations of lasso_node_impl_init_from_xml now validate namespace of all child nodes befores parsing. It stops on any error. For node which implement their own parsing of an attribute or a node, it must declare an XmlSnippet with an offset field set to 0. The 0 value is invalid for public GObject structure (it's the place of the GObject machinery like the reference count). The 0 offset can be used for XmlSnippet in a private structure, so never set the offset to 0 with the flag SNIPPET_PRIVATE, for a field which is parsed by you get_xmlNode virtual method. Other ameliorations in this commit is the possibility to set attributes with namespace when using the flags SNIPPET_ATTRIBUTE|SNIPPET_ANY. The syntax for an attribute is inspired by the element tree API from Python: {namespace}attribute_name an example: {http://www.w3.org/2001/XMLSchema-instance}type for the classic xsi:type attribute.
* [xml] add LASSO_XMLENC_PREFIX and LASSO_XMLENC_HREF definesBenjamin Dauvergne2011-12-161-0/+14
|
* [xml] add missing nodes to LassoIsInteractionRequestBenjamin Dauvergne2011-12-162-3/+6
|
* [xml] change saml_advice.h to declarer the real node typeBenjamin Dauvergne2011-12-161-2/+1
| | | | | It also needed a change to bindings.py to parse struct as well as typedef node classes.
* [xml] complete missing namespace declarations for child nodesBenjamin Dauvergne2011-12-1663-114/+168
| | | | | | | To allow lasso_node_impl_init_from_xmlnode to do proper namespace checking, child node which are not of the same namespace as their parent in their XSD schema must have an explicit namespace declared in the XmlSnippet.
* [core] fix uninitialized pointer to a GError structureBenjamin Dauvergne2011-12-161-1/+1
|
* [core] move XMLDsig related nodes in their own sub-library, add X509Data ↵Benjamin Dauvergne2011-12-1617-42/+430
| | | | | | node implementation The goal is to use the KeyInfo structure as a transport format for our cryptographic keys
* [core] add the HMAC-SHA1 shared secret signature methodBenjamin Dauvergne2011-12-054-0/+101
|
* [core] refactor lasso_query_verify_signature and ↵Benjamin Dauvergne2011-12-051-149/+108
| | | | | | | lasso_saml2_query_verify_signature This commit introduces lasso_query_verify_helper which factorize cryptographic operations.
* [core] set the xmlSec log handler globallyBenjamin Dauvergne2011-12-051-14/+0
| | | | The log handler is not set in lasso_init().
* [saml2] introduce a lasso_saml2_assertion_get_audirence_restrictions to ↵Benjamin Dauvergne2011-12-051-1/+1
| | | | factorize some code
* [core] introduce the LassoSignatureContext context, to pass around signature ↵Benjamin Dauvergne2011-12-053-347/+368
| | | | | | | parameters This structure is used to pass around the signature algorithm and the signature key.
* [core] add a lasso_base64_decode functionBenjamin Dauvergne2011-12-052-0/+34
|
* [xml] use lasso_node_export_to_query_with_password to implement ↵Benjamin Dauvergne2011-12-051-18/+3
| | | | lasso_node_export_to_query
* [tools] fix lasso_sha1 to return a glib allocated stringBenjamin Dauvergne2011-12-051-1/+1
|
* [tools] add a LassoSignatureContext structure to pass signature parameters ↵Benjamin Dauvergne2011-12-051-0/+35
| | | | | | around Signature parameters are mainly a LassoSignatureMethod and a xmlSecKey.