summaryrefslogtreecommitdiffstats
path: root/lasso/xml/samlp_response.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix license boilerplatesSimo Sorce2013-12-031-2/+1
| | | | | | | 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>
* [xml] complete missing namespace declarations for child nodesBenjamin Dauvergne2011-12-161-1/+2
| | | | | | | 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.
* XML: remove all useless instance_init functionsBenjamin Dauvergne2009-08-261-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use Coccinelle semantic patch tool (http://coccinelle.lip6.fr/) to remove useless instance_init functions, the first patch applied was: @@ type T,V; identifier I, J; parameter list P; expression E1; @@ V instance_init(T node) { <... ( - E1 = 0; | - E1 = NULL; | - E1 = FALSE; ) ...> } It removes useless initialization to 0 (GObject already zeroes allocated objects). The second one is: @ rule1 @ type T; identifier node,fn; @@ - static void fn(T *node) { } @ rule2 extends rule1 @ typedef GType, GInstanceInitFunc; identifier type_constructor; @@ GType type_constructor() { <... - (GInstanceInitFunc)fn + NULL ...> } It removes empty instance_init functions.
* All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF codeBenjamin Dauvergne2009-08-261-1/+1
| | | | | | | | | | | | | * nearly all C files: change includes for relative paths. * lasso/id-wsf/id_wsf.h, lasso/id-wsf-2.0/id_wsf_2.h: add top level public include files for ID-WSF 1.0 and ID-WSF 2.0. * lasso/id-ff/server.*, lasso/id-ff/session.*, lasso/id-ff/identity.*: remove most of the code related to ID-WSF and push into lasso/id-wsf/id_ff_extensions.* and lasso/id-wsf-2.0/identity.c, lasso/id-wsf-2.0/server.c, lasso/id-wsf-2.0/session.c. * lasso/id-wsf-2.0/saml2_login.c, lasso/id-wsf-2.0/saml2_login_private.h: same change but for ID-WSF 2.0 support in SAML2 SSO profile.
* Core: do not mix public and private headersBenjamin Dauvergne2009-03-271-0/+1
| | | | | * lots of files: explicitely load the internal header xml/private.h where needed.
* ID-FF 1.2: validate signatures on responses during the BRWS/Artifact profileBenjamin Dauvergne2009-01-241-0/+1
| | | | | | | | | | | - lasso/id-ff/login.c: - the lasso_login_process_response_msg is used to process SOAP response to artifact resolution requests. The answer contains an samlp:Response that can be signed, and each contained assertion MUST be individually signed. - lasso/xml/samlp_response.c: - set keep_xmlnode flag on the class metadatas to help in signature validations.
* All: Fix missing field initializer problemsBenjamin Dauvergne2009-01-241-3/+4
| | | | | | * lots of files: Explicitely set all field of initialized structures, in order to remove -Wno-missing-field-initilizers from needed compiler options when using -Wall -Wextra.
* * Remove ending blanksBenjamin Dauvergne2008-09-121-6/+6
|
* moved gtk-doc inline as is better on so many points; also added schemaFrederic Peters2008-05-151-2/+8
| | | | fragments to published doc
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* SAML 2.0 support (only web-sso for the moment)Frederic Peters2005-11-201-2/+2
|
* char signedness for gcc 4 (id-wsf part has not been done)Frederic Peters2005-07-301-8/+10
|
* don't set status to constant string in samlp:ResponseFrederic Peters2005-03-291-1/+1
|
* detect liberty QName and add appropriate namespace (closes: #416)Frederic Peters2005-03-151-0/+18
|
* Updated Copyright and authors.Emmanuel Raviart2005-01-221-3/+2
|
* moved remaining unbounded elements to GList* (samlp:Response/Assertion beingFrederic Peters2005-01-081-1/+1
| | | | part of that bunch)
* fixed order of samlp:Response elementsFrederic Peters2005-01-041-1/+1
|
* sets InResponseTo in samlp:ResponseFrederic Peters2004-12-311-1/+0
|
* documented a bunch of LassoSaml* classes _new functionsFrederic Peters2004-12-311-1/+8
|
* only set samlp:Success in samlp:Response if assertion was found; fall back toFrederic Peters2004-12-281-1/+1
| | | | | samlp:RequestDenied in other cases since there is currently no way to be more precise.
* generate xmlsec signatures in get_xmlNode; this should allow envelopes (inFrederic Peters2004-12-281-2/+2
| | | | LECP) to work properly.
* Added differentiation between creating xmlnode for lasso use (the _dumpFrederic Peters2004-12-191-2/+2
| | | | | | | | | | | | functions) and creating xmlnode for the wire (export_to_soap...). This was necessary to keep track of private_key_file to use on an Assertion while it was kept in a lasso session dump and restored later. This means the get_xmlNode functions have now a second parameter, gboolean lasso_dump, TRUE when dumping for lasso internal use. On the bright side assertions are now signed (that signature is not yet checked).
* last(?) iteration on XmlSnippet; now attached to classes, get_xmlNode andFrederic Peters2004-12-021-25/+15
| | | | | | init_from_xml are no longer necessary in many cases. Previous XmlSnippet renamed to XmlSnippetObsolete to keep compatibility (id-wsf classes have not yet been converted).
* moved xml snippet stuffs into new internals.h; those should not be exposed;Frederic Peters2004-11-261-4/+4
| | | | changed snippet type from character to enum (defined in internals.h)
* indentation workFrederic Peters2004-11-251-15/+14
|
* use same "xmlsnippets" (name will probably change) to build xml nodesFrederic Peters2004-11-171-20/+19
|
* refactored init_from_xml functions (lasso is now less than 20000 lines)Frederic Peters2004-11-171-16/+6
|
* return value on init_from_xml; and minor tweaks to code styleFrederic Peters2004-11-091-2/+4
|
* cleaning upFrederic Peters2004-10-291-0/+1
|
* cleaning upFrederic Peters2004-10-271-1/+1
|
* Done with the move to structures and the removal of protocols/ (lasso branchedFrederic Peters2004-10-271-49/+103
| | | | | | | | on October 2nd; occasional merges since then). - Compatible with current souk test suites. - Missing memory management for everything in xml/ - Missing xmlsec support for SOAP messages.
* declarations first (and s/lenght/length/)Frederic Peters2004-08-131-2/+4
|
* Added Nicolas to authors.Emmanuel Raviart2004-07-221-1/+2
|
* replaced C++ // comments with C /* */ comments before we fall on a pre-C99Frederic Peters2004-07-151-1/+1
| | | | compiler.
* Remove class->set_ns() uselessValery Febvre2004-04-171-2/+1
|
* Used new method set_ns() instead of new_ns() (in *_instance_init() methods)Valery Febvre2004-04-171-5/+5
|
* *** empty log message ***Valery Febvre2004-04-131-8/+8
|
* Files moved. Initialy located in lasso/schema/ directoryValery Febvre2004-04-051-0/+114