summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/federation.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] rewrite schema directed serialization/deserialization methodsBenjamin Dauvergne2011-12-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Improve safety by replacing all g_free use by lasso_releaseBenjamin Dauvergne2010-04-221-1/+2
|
* Fix leaks, change signature of lasso_provider_get_sp_name_qualifier, make it ↵Benjamin Dauvergne2010-02-041-1/+1
| | | | return a const char*
* Do not use g_new, use g_new0Benjamin Dauvergne2009-09-291-1/+1
| | | | | | | | | | | | | * lasso/id-ff/federation.c: * lasso/id-ff/logout.c: * lasso/id-ff/profile.c: * lasso/id-ff/provider.c: * lasso/id-ff/server.c: * lasso/id-ff/session.c: * lasso/id-wsf/authentication.c: * lasso/saml-2.0/ecp.c: * lasso/xml/xml.c: even for private datas, use g_new0, it is safer.
* Docs: change the doc production and lot of other fixesBenjamin Dauvergne2009-08-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lasso/Makefile.am: distribute extract_sections.py * docs/references/lasso/lasso.types.in: add missing class (mainly SAML2 and ID-WSF 1.0/2.0) from docs/references/lasso.types.in * lasso/xml/strings.h: add lots of documentation, or at least documentation template to strings constants. * id-ff/login.h: * saml-2.0/assertion_query.h: * xml/xml.h: document undocumented enumerations. * lasso/errors.h: add proper documentation about error codes. * lasso/errors.c: new version of the lasso_strerror function * lasso/build_strerror.py: update the script that generater lasso_strerror from the documentation comments. Remove usage of OFTYPE * lasso/id-ff/session.c: * lasso/id-ff/session.h: remove usage of oftype, prefer gtk-introspection annotations instead. * lasso/id-wsf/data_service.h: * lasso/id-wsf/data_service.c: do the same. Add a script to build lasso-sections.txt * lasso/extract_sections.py: this script parses header files and generated lasso-sections.txt content for GObject class descriptions. Add a template file for the lasso-section.txt file * docs/references/lasso-sections.txt.in: this file serves as a base for the generation of lasso-sections.txt Update docs/references/Makefile.am for generating lasso-sections.txt * docs/references/Makefile.am: always rebuild template, using out of source build directory is too weird without it. call new script extract_sections.py to regenerate lasso-sections.txt if header files changed. Update lasso.sgml file with all missing sections * docs/reference/lasso.sgml: add all missing sections, mainly objects from XML schemas. * docs/reference/lasso-sections.txt: update it * *.c: add section documentation to some files. * lasso/xml/strings.h: fix bad usage or docbook markup
* All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF codeBenjamin Dauvergne2009-08-261-3/+3
| | | | | | | | | | | | | * 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.
* All: Fix missing field initializer problemsBenjamin Dauvergne2009-01-241-4/+5
| | | | | | * 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-3/+3
|
* Add namespace for federation XML objectBenjamin Dauvergne2008-08-261-0/+1
|
* * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and ↵Benjamin Dauvergne2008-08-051-3/+3
| | | | formatting
* moved gtk-doc inline as is better on so many points; also added schemaFrederic Peters2008-05-151-0/+6
| | | | fragments to published doc
* removed a duplicate lineDamien Laniel2007-06-111-2/+1
|
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* starting SAML 2 logoutFrederic Peters2005-11-211-6/+28
|
* SAML 2.0 support (only web-sso for the moment)Frederic Peters2005-11-201-4/+4
|
* char signedness for gcc 4 (id-wsf part has not been done)Frederic Peters2005-07-301-1/+1
|
* Updated Copyright and authors.Emmanuel Raviart2005-01-221-3/+2
|
* removed individual debug() statements in dispose() and finalize(); replaced byFrederic Peters2005-01-041-5/+0
| | | | | a single statement in xml/xml.c; surrouded that one by LASSO_DEBUG so --enable-debugging prints those memory-management debugging data.
* don't care about NameFormat and NameQualifier in comparaisonFrederic Peters2005-01-041-2/+0
|
* removed lasso_federation_set_local_name_identifier andFrederic Peters2005-01-011-34/+0
| | | | lasso_federation_set_remote_name_identifier; they were no longer necessary.
* documenting #LassoIdentity and #LassoFederationFrederic Peters2004-12-221-12/+59
|
* 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).
* pointers are %p in format strings, not %xFrederic Peters2004-12-151-2/+2
|
* moved federation to XmlSnippetFrederic Peters2004-12-151-62/+24
|
* overridden spelling fix caused alignment wreckageFrederic Peters2004-12-101-1/+1
|
* The past participle of "to override" is overridden.Emmanuel Raviart2004-12-071-1/+1
| | | | see http://en.wiktionary.org/wiki/Overridden
* indentation workFrederic Peters2004-11-251-17/+5
|
* renamed private struct member to private_data (gtk+ does it like that)Frederic Peters2004-11-221-5/+5
|
* renamed lasso/environs/ to lasso/id-ff/Frederic Peters2004-11-151-1/+1
|
* return value on init_from_xml; and minor tweaks to code styleFrederic Peters2004-11-091-2/+2
|
* set RemoteProviderID has <federation> attribute instead of text child to be aFrederic Peters2004-11-011-6/+4
| | | | | | little more compatible with lasso (still incompatible since they put all the federation in a global <federations> while I put them directly in the <identity>).
* removal of \n at end of error messagesFrederic Peters2004-10-271-2/+2
|
* Done with the move to structures and the removal of protocols/ (lasso branchedFrederic Peters2004-10-271-0/+306
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.